Get OIDC claims for the authenticated user
GET
CoderSessionTokenheader
Coder-Session-Token<token>OK
application/json- response
claims?Claims are the merged claims from the OIDC provider. These are the union of the ID token claims and the userinfo claims, where userinfo claims take precedence on conflict.
The samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.
curl -X GET \ "$CODER_URL/api/v2/users/oidc-claims" \ -H "Coder-Session-Token: $CODER_SESSION_TOKEN"Example Response200
{ "claims": {}}