<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>OAuth 2.0 on Spinnaker</title>
		<link>https://deploy-preview-637--spinnaker-io.netlify.app/docs/setup/other_config/security/authentication/oauth/</link>
		<description>Recent content in OAuth 2.0 on Spinnaker</description>
		<generator>Hugo</generator>
		<language>en</language>
		
		
		
		
			<atom:link href="https://deploy-preview-637--spinnaker-io.netlify.app/docs/setup/other_config/security/authentication/oauth/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Azure</title>
				<link>https://deploy-preview-637--spinnaker-io.netlify.app/docs/setup/other_config/security/authentication/oauth/azure/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://deploy-preview-637--spinnaker-io.netlify.app/docs/setup/other_config/security/authentication/oauth/azure/</guid>
				<description>&lt;p&gt;This page instructs you on how to obtain an OAuth 2.0 client ID and client secret for&#xA;use with your Microsoft Azure tenant. More extensive documentation is available on&#xA;&#xA;&lt;a href=&#34;https://learn.microsoft.com/en-us/azure/active-directory-b2c/client-credentials-grant-flow?pivots=b2c-user-flow&#34; target=&#34;_blank&#34;&gt;Microsoft&amp;rsquo;s site&lt;/a&gt;&#xA;.&lt;/p&gt;&#xA;&lt;h2 id=&#34;setting-up-an-azure-application-registration&#34;&gt;Setting up an Azure Application Registration&lt;/h2&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Navigate to &#xA;&lt;a href=&#34;https://portal.azure.com&#34; target=&#34;_blank&#34;&gt;https://portal.azure.com&lt;/a&gt;&#xA; and log in with your Azure credentials.&lt;/li&gt;&#xA;&lt;li&gt;On the left hand navigation pane, click &amp;ldquo;Azure Active Directory&amp;rdquo; &amp;ndash;&amp;gt; &amp;ldquo;App registrations&amp;rdquo;.&lt;/li&gt;&#xA;&lt;li&gt;Click &amp;ldquo;New application registration&amp;rdquo;, and fill in the details:&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Name of the application: (eg Spinnaker),&lt;/li&gt;&#xA;&lt;li&gt;Application type: Web app / API&lt;/li&gt;&#xA;&lt;li&gt;Sign-on URL: &lt;code&gt;https://localhost:8084/login/oauth2/code/azure&lt;/code&gt;  (replace localhost with your Gate address if known, and &lt;code&gt;https&lt;/code&gt; with &lt;code&gt;http&lt;/code&gt; if appropriate). For Spinnaker below v2025.2.0, it should be just &lt;code&gt;https://localhost:8084/login&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Click &amp;ldquo;Create&amp;rdquo;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Note the &amp;ldquo;Application ID&amp;rdquo;, this is the client ID. Copy it to a safe place.&lt;/li&gt;&#xA;&lt;li&gt;Click &amp;ldquo;Settings&amp;rdquo; -&amp;gt; &amp;ldquo;Keys&amp;rdquo;. Under &amp;ldquo;Passwords&amp;rdquo;, add a Key Description (eg Spinnaker), set the expiry and then click &amp;ldquo;Save&amp;rdquo;.&#xA;&amp;ldquo;Value&amp;rdquo; will now be populated. This is your client secret; copy it to a safe place.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h2 id=&#34;configure-gate&#34;&gt;Configure Gate&lt;/h2&gt;&#xA;&lt;h3 id=&#34;current-configurations&#34;&gt;Current configurations&lt;/h3&gt;&#xA;&lt;p&gt;Add the following to &lt;code&gt;gate-local.yml&lt;/code&gt;. Note the Tenant ID of your organization is required for Azure OAuth 2.0 login. To&#xA;obtain it:&lt;/p&gt;</description>
			</item>
			<item>
				<title>G Suite</title>
				<link>https://deploy-preview-637--spinnaker-io.netlify.app/docs/setup/other_config/security/authentication/oauth/google/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://deploy-preview-637--spinnaker-io.netlify.app/docs/setup/other_config/security/authentication/oauth/google/</guid>
				<description>&lt;p&gt;This page instructs you on how to obtain an OAuth 2.0 client ID and client secret for use with your G Suite organization&#xA;(previously known as Google Apps for Work).&lt;/p&gt;&#xA;&lt;h2 id=&#34;get-client-id-and-secret&#34;&gt;Get client ID and secret&lt;/h2&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Navigate to &#xA;&lt;a href=&#34;https://console.developers.google.com/apis/credentials&#34; target=&#34;_blank&#34;&gt;https://console.developers.google.com/apis/credentials&lt;/a&gt;&#xA;.&lt;/li&gt;&#xA;&lt;li&gt;Click &amp;ldquo;Create credentials&amp;rdquo; &amp;ndash;&amp;gt; OAuth client ID.&lt;/li&gt;&#xA;&lt;li&gt;Select &amp;ldquo;Web Application&amp;rdquo;, and enter a name.&lt;/li&gt;&#xA;&lt;li&gt;Under &amp;ldquo;Authorized redirect URIs&amp;rdquo;, add &lt;code&gt;https://localhost:8084/login/oauth2/code/google&lt;/code&gt; (For Spinnaker below&#xA;v2025.2.0, it should be &lt;code&gt;https://localhost:8084/login&lt;/code&gt;), replacing domain with your Gate address,&#xA;if known, and &lt;code&gt;https&lt;/code&gt; with &lt;code&gt;http&lt;/code&gt; if appropriate. Click Create.&lt;/li&gt;&#xA;&lt;li&gt;Note the generated client ID and client secret. Copy these to a safe place.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://deploy-preview-637--spinnaker-io.netlify.app/docs/setup/other_config/security/authentication/oauth/google/gcp-oauth-client.png&#34; alt=&#34;GCP console to create OAuth 2.0 client screenshot&#34;&gt;&lt;/p&gt;</description>
			</item>
			<item>
				<title>GitHub Organizations</title>
				<link>https://deploy-preview-637--spinnaker-io.netlify.app/docs/setup/other_config/security/authentication/oauth/github/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://deploy-preview-637--spinnaker-io.netlify.app/docs/setup/other_config/security/authentication/oauth/github/</guid>
				<description>&lt;h1 id=&#34;warning&#34;&gt;WARNING&lt;/h1&gt;&#xA;&lt;p&gt;IF YOU ARE NOT CAREFUL you can configure spinnaker to allow ANY github user, not just the ones&#xA;in your organization access to spinnaker.  As such, please make sure to set the restrictions as appropriate&#xA;for your org!  Specifically &lt;code&gt;spring.security.oauth2.client.registration.github.provider-requirements&lt;/code&gt; restriction&#xA;to limit access to a specific github org!  Failure to set this places your spinnaker installation at risk&#xA;of unintended access! For this to work, your users MUST be public members to validate their membership in the github organization.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Oracle Cloud</title>
				<link>https://deploy-preview-637--spinnaker-io.netlify.app/docs/setup/other_config/security/authentication/oauth/oracle/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://deploy-preview-637--spinnaker-io.netlify.app/docs/setup/other_config/security/authentication/oauth/oracle/</guid>
				<description>&lt;h2 id=&#34;configuring-oracle-cloud-oauth-20&#34;&gt;Configuring Oracle Cloud OAuth 2.0&lt;/h2&gt;&#xA;&lt;p&gt;Consult the &#xA;&lt;a href=&#34;https://docs.oracle.com/en/cloud/get-started/subscriptions-cloud/ocuid/introduction-oauth-oracle-cloud.html&#34; target=&#34;_blank&#34;&gt;Oracle Cloud Documentation&lt;/a&gt;&#xA;&#xA;to set up OAuth 2.0 and obtain a client ID and client secret.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; While registering the application in Oracle Cloud OAuth 2.0, application redirect URI that should be used is&#xA;&lt;code&gt;https://localhost:8084/login/oauth2/code/oracle&lt;/code&gt; (For Spinnaker below v2025.2.0, it should be&#xA;&lt;code&gt;https://localhost:8084/login&lt;/code&gt;)&lt;/p&gt;&#xA;&lt;h2 id=&#34;configure-gate&#34;&gt;Configure Gate&lt;/h2&gt;&#xA;&lt;p&gt;Add the following to &lt;code&gt;gate-local.yml&lt;/code&gt;&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-yaml&#34; data-lang=&#34;yaml&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;spring&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;  &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;security&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;    &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;oauth2&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;      &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;client&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;        &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;registration&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;          &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;userInfoMapping&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;            &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;email&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;            &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;firstName&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;given_name&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;            &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;lastName&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;family_name&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;            &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;username&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;preferred_username&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;          &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;oracle&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;            &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;client-secret&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;&amp;lt;client-secret&amp;gt;&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;            &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;scope&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;openid,urn:opc:idm:__myscopes__&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;            &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;client-id&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;&amp;lt;client-id&amp;gt;&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;            &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;redirect-uri&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;https://&amp;lt;your-domain&amp;gt;/login/oauth2/code/&amp;lt;providerid-aka-google&amp;gt;&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;        &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;provider&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;          &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;oracle&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;            &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;user-info-uri&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;https://idcs-${idcsTenantId}.identity.oraclecloud.com/oauth2/v1/userinfo&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;            &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;authorization-uri&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;https://idcs-${idcsTenantId}.identity.oraclecloud.com/oauth2/v1/authorize&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;            &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;token-uri&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;https://idcs-${idcsTenantId}.identity.oraclecloud.com/oauth2/v1/token&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;for-versions-prior-to-202520&#34;&gt;For versions prior to 2025.2.0&lt;/h3&gt;&#xA;&lt;p&gt;Add the following to &lt;code&gt;gate-local.yml&lt;/code&gt;&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
