Skip to content

You can use a social network like Google or Facebook as a login provider like email/username and password. To set up social login, follow the below procedure,

For Google, follow this procedure,

  1. At first go to Google Console dashboard (https://console.cloud.google.com/)

  2. From the console, create a new project

  3. After creating the project, go to APIs & Services -> OAuth consent screen.

Creating the project

  1. Create an External OAuth Consent.

  2. Then, go to the credentials section and create OAuth Client ID.

Credentials section

  1. Select Web Application on Application type, then named your OAuth 2.0 client and add Authorized redirect URIs https://DOMAIN.COM/auth/google/callback - DOMAIN.COM must be changed to your domain name.

Create OAuth 2.0 client

  1. Then you'll get your credentials.

Get credentials