Coder.comC
Coder.com4mo ago
12 replies
zhenia

Azure AD OIDC token refresh

Hello,
Azure AD OIDC initial auth working good. In about an hour (token expires) coder seems to try to refresh token and fails. Per docs, it's advised to check if rt_hash is provide however per Azure AD docs this claim is not available by default. Is it absolutely needed and has to be added to AD (extension) or there is another way to make refresh token process work with Azure AD? Thank you.
When refresh fails the following is display in the browser (error):
Could not refresh expired OpenId Connect token. Try re-auth...ing to resolve this issue.
oauth2: cannot unmarshal token: %!w(<nil>)
Was this page helpful?