Skip to main content

Google OAuth2 Keys

Description#

General#

  • Documentation: https://developers.google.com/identity/protocols/oauth2
  • Summary: Oauth2 keys allow to build applications that can access information from a user's Google account after they authorized the application.
  • IPs allowlist: This feature is not currently available.
  • Scopes: Scopes can be set for the application, the full list of available scopes is available here.

Revoke the secret#

This can be done from the Google developers console.

Check for suspicious activity#

As of the time of writing this documentation, this feature is not available.

Details for Google oauth2#

  • Family: Api

  • Category: Cloud Provider

  • Company: Google

  • High recall: True

  • Validity check available: False

  • Minimum number of matches: 2

  • Occurrences found for one million commits: 31.61

  • Prefixed: True

  • PreValidators:

- type: ContentWhitelistPreValidator  patterns:  - \.apps\.googleusercontent\.com

Examples#

- text: >    {"installed":{"client_id":"332292536747-qbemitq8128k6gv5r3dddddd0jmadcnm.apps.googleusercontent.com","project_id":"test-1551099712230","auth_uri":"https://accounts.google.com/o/oauth2/auth","token_uri":"https://oauth2.googleapis.com/token","auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs","client_secret":"daAKAFW-bt07isOxWwwPP0c-","redirect_uris":["urn:ietf:wg:oauth:2.0:oob","http://localhost"]}}  client_id: 332292536747-qbemitq8128k6gv5r3dddddd0jmadcnm.apps.googleusercontent.com  client_secret: daAKAFW-bt07isOxWwwPP0c-

Details for Google oauth2 prefixed#

  • Family: Api

  • Category: Cloud Provider

  • Company: Google

  • High recall: True

  • Validity check available: False

  • Minimum number of matches: 2

  • Occurrences found for one million commits: 128.88

  • Prefixed: True

  • PreValidators:

- type: ContentWhitelistPreValidator  patterns:  - gocspx-- type: ContentWhitelistPreValidator  patterns:  - \.apps\.googleusercontent\.com

Examples#

- text: >    client_id:"332292536747-qbemitq8128k6gv5r3dddddd0jmadcnm.apps.googleusercontent.com"    client_secret: "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"  client_id: 332292536747-qbemitq8128k6gv5r3dddddd0jmadcnm.apps.googleusercontent.com  client_secret: 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