File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ article.
16
16
17
17
## Coder's OIDC claims
18
18
19
+ Coder will request the scopes ` openid ` , ` email ` , and ` profile ` from your OIDC
20
+ provider.
21
+
19
22
Coder expects the following
20
23
[ OIDC claims] ( https://developer.okta.com/blog/2017/07/25/oidc-primer-part-1#whats-a-claim )
21
24
from your OIDC provider:
@@ -26,6 +29,11 @@ from your OIDC provider:
26
29
27
30
- ` preferred_username ` (username for dev URLs)
28
31
32
+ If the ` name ` or ` email ` claims are not present in the identity token returned
33
+ from your OIDC provider, Coder will request these from the ` user-info ` endpoint
34
+ of your OIDC provider. If hitting this endpoint is problematic, ensure that your
35
+ OIDC provider returns these claims in the tokens it provides.
36
+
29
37
You may need to map these to your existing claims within your OIDC provider's
30
38
admin console. If ` name ` and ` preferred_username ` are not provided, Coder will
31
39
derive both claims from the email address.
You can’t perform that action at this time.
0 commit comments