createGoogleAuthProvider

View Source

Summary

Creates a Google auth provider backed by the shared OIDC runtime.

Signature

function createGoogleAuthProvider(
  options: GoogleAuthProviderOptions,
): OAuthProvider<GoogleAuthProfile, "google", OAuthStandardTokens>;

Params

options

Google OAuth client settings for your application.

Returns

An OAuth provider that can be passed to startExternalAuth() and finishExternalAuth().