Skip to content

Google

reauth.factors.oauth2.google

GoogleOAuth2Factor

GoogleOAuth2Factor(
    *,
    identifier: str = "google",
    client_id: str,
    client_secret: str,
    state_service: OAuth2StateService,
    step: int = 0,
    advance_by: int = 1,
)

Bases: OIDCFactor, ABC

Google OAuth2 factor implementation, using the OpenID Connect protocol.

References
  • Google: https://developers.google.com/identity/openid-connect/openid-connect