n8n SSO with Google Workspace (OIDC)
Configure a Google OAuth web client for n8n’s Enterprise OIDC login.
Last updated
On this page (5)
n8n · Google Workspace · OIDC
Before you start
- n8n Enterprise, Cloud or self-hosted.
- Instance owner or admin and a Google Cloud project in the Workspace organization.
Configure sign-in
- In Settings > Authentication > Single sign-on, choose OIDC and copy the displayed redirect URL. For a self-hosted proxy deployment confirm N8N_EDITOR_BASE_URL.
- In Google Auth Platform configure an Internal audience and a Web application client with that exact authorized redirect URI.
- Set Discovery Endpoint to https://accounts.google.com/.well-known/openid-configuration, enter the client ID and secret, save, and activate OIDC.
Verify the result
- Verify a Workspace user signs in under the intended n8n identity and gets the appropriate manually assigned role.
- Confirm an external Google account cannot authorize the internal app.
