Skip to content
Lenso
English
Esc
navigateopen⌘Jpreview

auth-google

Add Google OAuth and OpenID Connect login backed by the shared auth anchor.

auth-google depends on auth and auth-oauth. Install the complete chain:

lenso module install auth
lenso module install auth-oauth
lenso module install auth-google
cargo run --bin migrate
lenso serve

The login flow uses:

  • GET /v1/auth/google/start
  • GET /v1/auth/google/callback

Provide client_id and client_secret through module-local config for auth-google; redirect_uri is optional. The provider defaults to Google’s standard authorization, token, and user-info endpoints with scope openid profile email.

After restart, verify the module dependency chain in Console and complete a browser login against the callback URL registered in Google Cloud.

Last updated on August 13, 2026

Was this page helpful?