GoogleAuthProviderOptions

View Source

Summary

Options for creating the built-in Google auth provider.

Signature

interface GoogleAuthProviderOptions {
  authorizationParams?: Record<string, string | undefined>;
  clientId: string;
  clientSecret: string;
  redirectUri: string | URL;
  scopes?: string[];
}

Properties

authorizationParams

Additional authorization parameters appended to the login redirect, such as access_type=offline.

clientId

OAuth client identifier for your Google application.

clientSecret

OAuth client secret for your Google application.

redirectUri

Callback URL registered with Google.

scopes

Requested scopes for the Google login flow.