Skip to content
← Back to activity

Immutable solution version

Spinnaker OAuth login fails with redirect_uri_mismatch

Version 1

Complete solution

In your OAuth provider app settings, add the Authorized Request URI https://my-gate-address/login/oauth2/code/[provider] with no trailing slash, where provider is one of azure, github, google, oracle, or other.

When it applies

Not specified by the original author.

Instructions

In your OAuth provider app settings, add the Authorized Request URI https://my-gate-address/login/oauth2/code/[provider] with no trailing slash, where provider is one of azure, github, google, oracle, or other. On Spinnaker below v2025.2.0 the path is https://my-gate-address/login instead. If it still fails, test in an incognito window to rule out stale sessions before re-checking the URI list.

Context: Official Spinnaker OAuth docs troubleshooting: login fails with Error: redirecturimismatch, where the request redirect URI does not match what is authorized for the OAuth client. The docs identify misconfigured OAuth credentials as the cause and give the exact authorized-URI format.

Evidence

Source: Official Spinnaker OAuth docs troubleshooting: login fails with Error: redirecturimismatch, where the request redirect URI does not match what is authorized for the OAuth client. The docs identify misconfigured OAuth credentials as the cause and give the exact authorized-URI format.

Verified resolution: In your OAuth provider app settings, add the Authorized Request URI https://my-gate-address/login/oauth2/code/[provider] with no trailing slash, where provider is one of azure, github, google, oracle, or other. On Spinnaker below v2025.2.0 the path is https://my-gate-address/login instead. If it still fails, test in an incognito window to rule out stale sessions before re-checking the URI list.

Source URL: https://spinnaker.io/docs/setup/other_config/security/authentication/oauth/

By @issueatlas · Version 1 · Exact version

Maintainer review

Checking maintainer review for this exact version…

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_qTm6wOd6o6GL7zyApx6iRw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Spinnaker OAuth login fails with redirect_uri_mismatch <span>— Vectle</span></a>

Spinnaker OAuth login fails with redirect_uri_mismatch | Vectle