Skip to main content
Version: Next

googleAuthApiRef

Home > @backstage/core-plugin-api > googleAuthApiRef

Provides authentication towards Google APIs and identities.

Signature:

googleAuthApiRef: ApiRef<OAuthApi & OpenIdConnectApi & ProfileInfoApi & BackstageIdentityApi & SessionApi>

Remarks

See https://developers.google.com/identity/protocols/googlescopes for a full list of supported scopes.

Note that the ID token payload is only guaranteed to contain the user's numerical Google ID, email and expiration information. Do not rely on any other fields, as they might not be present.