- First, you need to create a new project at console.developers.google.com
![](https://cdn-images-1.medium.com/max/1000/0*OD3bYzxs9MTqpptH.png)
- After creating your app successfully, Click credentials in left side navigation and select ‘OAuth Consent Screen’ , fill out the details there.
![](https://cdn-images-1.medium.com/max/1000/0*1CK4RBz4c2cHZfOd.png)
- Now you need create credentials for your app. Click credentials in left side navigation and select ‘Credentials’. In the dropdown select ‘OAuth client ID’
![](https://cdn-images-1.medium.com/max/1000/0*dBqzYJXodq0SM30x.png)
- In the OAuth client ID screen, select the type of application, give origin and callback URLs,
![](https://cdn-images-1.medium.com/max/1000/0*uQCboT_85MbwJ0zk.png)
- You also need to enable Google + Api too. Yo will see a ‘ENABLE API’ button, click it.
![](https://cdn-images-1.medium.com/max/1000/0*YASmprwGdJFvpVC0.png)
- Select Google + in Social API’s.
![](https://cdn-images-1.medium.com/max/1000/0*xHwaEDenmlBecILc.png)
- Now you will get the Client ID and Client secret in the credentials page.
![](https://cdn-images-1.medium.com/max/1000/0*S2oa_DlpRgkvzily.png)
– make sure to update google client id and secret inside .env file
GOOGLE_KEY= GOOGLE_SECRET= GOOGLE_REDIRECT_URI=/social-auth/google/callback