Google Search Console · Authentication Profile

Google Search Console Authentication

Authentication

Google Search Console secures its APIs with oauth2 across 1 declared security scheme, as derived from its OpenAPI definitions. OAuth 2.0 is offered via the authorizationCode flow(s).

AnalyticsGoogleIndexingSearchSearch AnalyticsSEOSitemapURL InspectionWebmaster Tools
Methods: oauth2 Schemes: 1 OAuth flows: authorizationCode API key in:

Security Schemes

OAuth2 oauth2
· flows: authorizationCode

Source

Authentication Profile

Raw ↑
generated: '2026-08-13'
method: searched
docs: https://developers.google.com/webmaster-tools/v1/how-tos/authorizing
source: >-
  Confirmed against the provider's authorization how-to and against the OAuth 2.0 authorization
  server metadata probed live on 2026-08-13 at
  https://accounts.google.com/.well-known/openid-configuration (HTTP 200). Baseline derived from
  openapi/google-search-console-indexing-api-openapi.yml, openapi/google-search-console-search-analytics-api-openapi.yml,
  openapi/google-search-console-sitemaps-api-openapi.yml, openapi/google-search-console-sites-api-openapi.yml,
  openapi/google-search-console-url-inspection-api-openapi.yml, openapi/google-search-console-url-testing-tools-api-openapi.yml
summary:
  types:
  - oauth2
  oauth2_flows:
  - authorizationCode
schemes:
- name: OAuth2
  type: oauth2
  flows:
  - flow: authorizationCode
    authorizationUrl: https://accounts.google.com/o/oauth2/v2/auth
    tokenUrl: https://oauth2.googleapis.com/token
    scopes: 1
  description: 'Google OAuth 2.0. Authorization server metadata: https://accounts.google.com/.well-known/openid-configuration'
  sources:
  - openapi/google-search-console-indexing-api-openapi.yml
  - openapi/google-search-console-search-analytics-api-openapi.yml
  - openapi/google-search-console-sitemaps-api-openapi.yml
  - openapi/google-search-console-sites-api-openapi.yml
  - openapi/google-search-console-url-inspection-api-openapi.yml
  - openapi/google-search-console-url-testing-tools-api-openapi.yml
authorization_server:
  issuer: https://accounts.google.com
  metadata: https://accounts.google.com/.well-known/openid-configuration
  server_metadata: https://accounts.google.com/.well-known/oauth-authorization-server
  saved:
  - well-known/google-search-console-openid-configuration.json
  - well-known/google-search-console-oauth-authorization-server.json
  grant_types_supported:
  - authorization_code
  - refresh_token
  - urn:ietf:params:oauth:grant-type:device_code
  - urn:ietf:params:oauth:grant-type:jwt-bearer
scopes:
- https://www.googleapis.com/auth/webmasters
- https://www.googleapis.com/auth/webmasters.readonly
- https://www.googleapis.com/auth/indexing
identities:
- type: user
  note: Authorization code flow with offline access for a refresh token.
- type: service account
  note: >-
    JWT bearer grant. The standard pattern for server-side integrations and the required one for
    the Indexing API, where the service account must additionally be added as an Owner of the
    Search Console property.
api_key:
  supported: partial
  note: >-
    The Google API front end accepts a `key` query parameter for project identification, but no
    Search Console operation that reads or writes site data is authorized by an API key alone.
notes:
- >-
  Authorization is per verified property, not per Cloud project. A valid token with the right scope
  still returns 403 insufficientPermissions if the account does not own the property or the siteUrl
  string does not match it exactly.
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com