@@ -43,22 +43,28 @@ Services and obtain the information you need to provide to Coder.
43
43
` https://coder.your-domain.com/oidc/callback ` ) and click ** Add** . Then, click
44
44
** Next** to proceed.
45
45
46
+ ![ Configure Web API] ( ../../assets/guides/admin/adfs-3.png )
47
+
46
48
1 . In the next screen, titled ** Configure Application Credentials** , click the
47
49
** Generate a shared secret** checkbox. Note the ** Secret** value that
48
50
appears, since you'll need to provide this to Coder at a later step. Click
49
51
** Next** to proceed.
50
- ![ Configure Application Credentials] ( ../../assets/guides/admin/adfs-3.png )
52
+
53
+ ![ Configure Application Credentials] ( ../../assets/guides/admin/adfs-4.png )
51
54
52
55
1 . In the next step, ** Configure Web API** , enter the ** Client identifier** that
53
56
you saved in step 4 in the field called ** Identified** and click ** Add** .
54
57
Click ** Next** to proceed.
55
58
56
- ![ Configure Web API] ( ../../assets/guides/admin/adfs-4 .png )
59
+ ![ Configure Web API] ( ../../assets/guides/admin/adfs-5 .png )
57
60
58
61
1 . On the ** Choose Access Control Policy** screen, choose your preferred access
59
62
control policy, and click ** Next** to proceed.
60
63
61
- ![ Choose Access Control Policy] ( ../../assets/guides/admin/adfs-5.png )
64
+ In the example below, we permit members of a specific group ` coder-users ` to
65
+ access Coder.
66
+
67
+ ![ Choose Access Control Policy] ( ../../assets/guides/admin/adfs-6.png )
62
68
63
69
1 . For the step ** Configure Application Permissions** , select the following
64
70
** Permitted scopes** :
@@ -70,13 +76,11 @@ Services and obtain the information you need to provide to Coder.
70
76
71
77
Click ** Next** to proceed.
72
78
73
- ![ Configure Application Permissions] ( ../../assets/guides/admin/adfs-6 .png )
79
+ ![ Configure Application Permissions] ( ../../assets/guides/admin/adfs-7 .png )
74
80
75
81
1 . Finally, in the ** Summary** window, review the information you've provided.
76
82
Click ** Next** when you're ready to proceed and close the setup wizard.
77
83
78
- ![ Review summary] ( ../../assets/guides/admin/adfs-7.png )
79
-
80
84
## Step 2: Modify the claim rules
81
85
82
86
In this step, you'll ensure that the access tokens sent by ADFS include the
@@ -101,7 +105,11 @@ following
101
105
102
106
1 . Enter a name for the claim rule.
103
107
104
- 1 . In the ** Custom Rule** field, enter the following:
108
+ 1 . In the ** Custom Rule** field, enter a claim rule written in the
109
+ [ ADFS Claim Rule Language] ( https://docs.microsoft.com/en-us/windows-server/identity/ad-fs/technical-reference/the-role-of-the-claim-rule-language ) .
110
+
111
+ The following example claim rule maps the Active Directory attributes
112
+ ` userPrincipalName ` and ` displayName ` as ` email ` and ` name ` , respectively:
105
113
106
114
``` text
107
115
c:[Type ==
0 commit comments