Skip to content

Google OAuth Service

Published: at 09:24 AM

Google OAuth Service Configuration on external app

google-oauth

To use the OAuth service of Google in our app, we need to create a project in our gcp console and create a API service in it.

  1. Go to GCP Console and login with your google account. Create a project to get started.

  2. Select the created project and click on “API and Services” project-selected

  3. Create a OAuth Consent screen for external access oauth-consent-screen

  1. Add the webapp details where you will add this Oauth service app-registration
  1. Add the authorized domain that is going to use this service. The subsequent sub-domain can use it afterwards. auth-domain
  1. Now create a OAuth client ID in Credentials oauth-client-id

  2. Add all the details about the domain that is going to use service along with callback url oauth-client-details

This post can be very helpful while creating OAuth for in-house authentication.


Previous Post
Youtube Clone