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

  1. 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.
  2. In Google Auth Platform configure an Internal audience and a Web application client with that exact authorized redirect URI.
  3. 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.

Official documentation

Have Pilae connect your identity provider

Pilae can deploy n8n with your identity provider already connected. We agree the edition, account mapping and access tests with your team before rollout.