We use cookies to make your experience better.
Learn how to use Okta SSO with Coder.
This article walks you through setting up single sign-on to Coder using Okta.
Configuring Coder's OpenID Connect feature requires you to provide three pieces of information from Okta:
This guide will show you how to set up an app on Okta and obtain the information you need to provide to Coder.
Log in to your Okta as an admin (<my-company>.okta.com
).
From the admin dashboard, click Applications and click the Applications sub-menu.
Click Add Application.
Click Create New App.
Select OpenID Connect and click Create
Fill in the Application name (i.e. Coder
), optionally add a logo
Add the Login redirect URIs for Coder (it will be formatted similar
to https://coder.my-company.com/oidc/callback
).
Click Save to proceed.
When Okta has created your app, you'll be redirected to the General tab, which displays the app information.
Once you've saved your app, you can obtain your:
On your application's General tab, look for the Client ID under the Client Credentials section. Below this is the Client secret.
On your app's Overview page, click the Sign On tab. Find the OpenID Connect ID Token section, and copy the Issuer.
On your app's Overview page, click the Assignments tab.
From here, you can assign People and Groups to the application to provide access to Coder.
Once you've saved your Okta values, you can complete the remaining steps using the Coder UI.
When done, click Save Preferences.
At this point, Coder validates your configuration before proceeding. If successful, you can expect Coder to send OIDC login attempts to Okta.
See an opportunity to improve our docs? Make an edit.
We use cookies to make your experience better.