@@ -5,43 +5,47 @@ description: Learn how to use Okta SSO with Coder.
5
5
6
6
This article walks you through setting up single sign-on to Coder using Okta.
7
7
8
- Configuring [ Coder's OpenID Connect] ( ../../admin/access-control/index.md#openid-connect )
9
- feature requires you to provide three pieces of information from Okta:
8
+ Configuring [ Coder's OpenID
9
+ Connect] ( ../../admin/access-control/index.md#openid-connect ) feature requires
10
+ you to provide three pieces of information from Okta:
10
11
11
12
- Client ID
12
13
- Client Secret
13
14
- Issuer
14
15
15
- This guide will show you how to set up an app on Okta and obtain the
16
- information you need to provide to Coder.
16
+ This guide will show you how to set up an app on Okta and obtain the information
17
+ you need to provide to Coder.
17
18
18
19
## Step 1: Register your app with Okta
19
20
20
- 1 . Log in to your Okta as an admin (` <my-company>.okta.com ` ).
21
- 1 . From the admin dashboard, click ** Applications** and click the
21
+ 1 . Log in to your Okta org (` <my-company>.okta.com ` ) as an admin .
22
+ 1 . From the admin dashboard, go to ** Applications** and select the
22
23
** Applications** sub-menu.
23
24
24
- ![ Okta Applications] ( ../../assets/guides/admin/okta-add-app.jpg )
25
-
26
25
1 . Click ** Add Application** .
27
26
28
- ![ Okta Add Application ] ( ../../assets/guides/admin/okta-create-new -app.jpg )
27
+ ![ Okta Applications ] ( ../../assets/guides/admin/okta-add -app.jpg )
29
28
30
29
1 . Click ** Create New App** .
31
30
32
- ![ Okta Create Application Modal ] ( ../../assets/guides/admin/okta-custom-app-creation .jpg )
31
+ ![ Okta Add Application] ( ../../assets/guides/admin/okta-create-new-app .jpg )
33
32
34
33
1 . Select ** OpenID Connect** and click ** Create**
35
- 1 . Fill in the ** Application name** (i.e. ` Coder ` ), optionally add a logo
36
- 1 . Add the ** Login redirect URIs** for Coder (it will be formatted similar
37
- to ` https://coder.my-company.com/oidc/callback ` ).
38
-
39
- ![ Okta Create OpenID Application] ( ../../assets/guides/admin/okta-create-openid-integration.jpg )
34
+
35
+ ![ Okta Create Application
36
+ Modal] ( ../../assets/guides/admin/okta-custom-app-creation.jpg )
37
+
38
+ 1 . Provide an ** Application name** (i.e., ` Coder ` ), (optionally) add a logo, and
39
+ add the ** Login redirect URIs** for Coder (it will be formatted similarly to
40
+ ` https://coder.my-company.com/oidc/callback ` ).
41
+
42
+ ![ Okta Create OpenID
43
+ Application] ( ../../assets/guides/admin/okta-create-openid-integration.jpg )
40
44
41
45
1 . Click ** Save** to proceed.
42
46
43
47
When Okta has created your app, you'll be redirected to the ** General** tab,
44
- which displays the app information.
48
+ which displays your app information.
45
49
46
50
## Step 2: Gather your Okta app information
47
51
@@ -53,31 +57,30 @@ Once you've saved your app, you can obtain your:
53
57
54
58
### Client ID and Client Secret
55
59
56
- On your application's ** General** tab, look for the ** Client ID ** under
57
- the ** Client Credentials ** section. Below this is the ** Client secret** .
60
+ On your application's ** General** tab, look for the ** Client Credentials **
61
+ section, which includes the ** Client secret** .
58
62
59
63
![ Client ID and Secret] ( ../../assets/guides/admin/okta-client-id-and-secret.jpg )
60
64
61
65
### Issuer
62
66
63
- On your app's ** Overview** page, click the ** Sign On** tab. Find the
64
- ** OpenID Connect ID Token** section, and copy the ** Issuer** .
67
+ On your app's ** Overview** page, click the ** Sign On** tab. Find the ** OpenID
68
+ Connect ID Token** section, and copy the ** Issuer** .
65
69
66
70
![ Issuer] ( ../../assets/guides/admin/okta-issuer.jpg )
67
71
68
- ## Step 3: Assign People and/or Groups to Coder
72
+ ## Step 3: Assign People and Groups to Coder
69
73
70
- On your app's ** Overview** page, click the ** Assignments** tab.
74
+ On your app's ** Overview** page, click the ** Assignments** tab. Under
75
+ ** Assign** , you can choose to ** Assign to People** or ** Assign to Group** to
76
+ provide users and groups access to Coder.
71
77
72
78
![ Assignments] ( ../../assets/guides/admin/okta-assign-app.jpg )
73
79
74
- From here, you can assign People and Groups to the application to
75
- provide access to Coder.
76
-
77
80
## Step 4: Configure Coder authentication
78
81
79
- Once you've saved your Okta values, you can complete the remaining steps using the
80
- Coder UI.
82
+ Once you've saved your Okta values, you can complete the remaining steps using
83
+ the Coder UI.
81
84
82
85
1 . Log in to Coder, and go to ** Manage** > ** Admin** > ** Authentication** .
83
86
1 . In the top-most drop-down box, select ** OpenID Connect** .
@@ -87,4 +90,4 @@ Coder UI.
87
90
When done, click ** Save Preferences** .
88
91
89
92
At this point, Coder validates your configuration before proceeding. If
90
- successful, you can expect Coder to send OIDC login attempts to Okta.
93
+ successful, Coder will send OIDC login attempts to Okta.
0 commit comments