Skip to content

Commit 8d80f17

Browse files
authored
document scopes requested by Coder (coder#1151)
1 parent eefad91 commit 8d80f17

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

admin/access-control/manage.md

+8
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ article.
1616

1717
## Coder's OIDC claims
1818

19+
Coder will request the scopes `openid`, `email`, and `profile` from your OIDC
20+
provider.
21+
1922
Coder expects the following
2023
[OIDC claims](https://developer.okta.com/blog/2017/07/25/oidc-primer-part-1#whats-a-claim)
2124
from your OIDC provider:
@@ -26,6 +29,11 @@ from your OIDC provider:
2629

2730
- `preferred_username` (username for dev URLs)
2831

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+
2937
You may need to map these to your existing claims within your OIDC provider's
3038
admin console. If `name` and `preferred_username` are not provided, Coder will
3139
derive both claims from the email address.

0 commit comments

Comments
 (0)