Create it in Google Cloud Console → Credentials → OAuth client ID → Web application. Add this page's address as an authorised JavaScript origin: