Skip to main content

Module social_google

Module social_google 

Source
Expand description

Google SocialProvider implementation.

§Token URL injection for tests

The Google token endpoint is hardcoded to https://oauth2.googleapis.com/token in the public new() constructor. Tests that need to point at a wiremock server use the crate-private new_with_token_url() constructor instead. This avoids the OnceLock-override pattern which is parallel-test-hostile.

Structs§

GoogleSocialProvider
Google OAuth 2.0 + OIDC social provider.