DEV Community

codebangkok
codebangkok

Posted on • Edited on

Create Google OAuth2 API

1) Go to https://console.cloud.google.com
2) Sign in

For existing user go to number 21.
3) Country
4) Checkbox
5) Click - Agree and continue

6) Click - Select a project

7) Click - New Project or Select existing project

8) Search - OAuth
9) Click - OAuth consent screen

10) For new user
11) Click - Get started

12) App name
13) User support email
14) Click - Next

15) Choose - External
16) Click - Next

17) Email addresses
18) Click - Next

19) Checkbox
20) Click - Create

21) Search - OAuth (1)
22) Click - Google Auth Platform (2)

23) Click - Clients
24) Click - Create client

25) Application type - Web Application
26) Name
27) Click - Add URI (Authorized redirect URIs)

28) URIs 1 - Get OAuth Redirect URL
29) Click - Create

30) Copy and Save - Client ID
31) Copy and Save - Client secret
32) Click - OK

33) Click - Audience (1)
34) Click - Add users (2)

35) Fill - your email (1)
36) Click - Save (2)
37) Click - Save (again) (3)


Product API

  1. Enable - Gmail API
  2. Enable - Google Drive API
  3. Enable - Google Docs API
  4. Enable - Google Sheets API
  5. Enable - Google Slides API
  6. Enable - Google Calendar API
  7. Enable - Google Tasks API
  8. Enable - Contacts API

Top comments (0)