How to connect Google Auth
First of all, you need to create an application in the Google developer console. It provides clientId is used to identify your application for authentication details. Follow the below steps to get the client ID. Go to the Credentials page.
If you are new, then create a project and follow these steps:
- Click Create credentials on Credentials page and select OAuth client ID.
- Select the Web application type.
After you click on OAuth client ID you will be redirected to this page, next please click on Configure Consent Screen.
Afterwards, you need to choose how you want to configure and register your application. Select and click on Create.
After that, you will be redirected to the page Edit app registration.
- Name your OAuth 2.0 client and click Create
Fill in all the fields or fields that have * and App domain information.
Make sure you provided your domain and redirect URL. So that Google identifies the origin domain to which it can provide authentication.
You can also add your local route for development. Now authentication set up in the Google developer console is ready.