DEV Community

MOHSIN ALI SOOMRO
MOHSIN ALI SOOMRO

Posted on

Create Google Application for google Oauth2

Step for create google app and get client id and secret key

Step 1

Step 2

  • Create your project in given link
  • User Type External

Step 3

  • Click the option (OAuth consent screen)
  • Fill these fields
  • App name : (AppName)
  • User support email: YourEmail
  • Authorized domains: Enter this (example.com)
  • Developer email : (DEV EMAIL)
  • Publish the app
  • Leave Rest of the fields

Step 4

  • Click Crendentials
  • Click Create Crendentials (Create OAuth client ID)
  • Application type: Web Applications
  • Name : AppName
  • Authorized JavaScript origins : Enter This (https://example.com)
  • Authorized redirect URIs : https://example.com/

Final

  • It will give you client id and secret

Top comments (0)