Get credentials
Configuration
lib/theauth.ts
Scopes
Default scopes:openid email profile. Scopes you pass are added on top of the defaults.
These give you name, email, and profile picture. To request additional permissions:
Extra scopes beyond
openid email profile require your app to complete Google’s verification process before they work for users outside your organization.access_type=offline and prompt=consent, so Google returns a refresh token and shows the consent screen on every sign-in.
User data returned
Initiating sign-in
Redirect users to:{baseUrl}/. There is no redirectTo parameter.
Related
Google One-tap
One-tap sign-in widget that uses Google ID tokens server-side.
OAuth overview
Generic OAuth 2.0 setup and account linking behavior.
Apple
Sign in with Apple for iOS apps and web.
Authentication overview
All sign-in methods available in theAuth.