ID Token:
...Access Token:
...Claims:
{
"iss": "http://<mydomain>:5556/dex",
"sub": "<mysub>",
"aud": "example-app",
"exp": 1589970400,
"iat": 1589884000,
"at_hash": "IwE6FNaS54ZP-HqCTl-qVA",
"email": "<myemail>",
"email_verified": true,
"name": "Brian Candler"
}Refresh Token:
...failed to get token: oauth2: cannot fetch token: 500 Internal Server Error
Response: {"error":"server_error"}and the Dex server process logs:
time="2020-05-19T10:30:09Z" level=error msg="failed to refresh identity: missing \"name\" claim"
Is this normal with Google as the upstream IDP? Token refreshing does work with the "mock" connector and the "local" connector.
I did find an issue relating to refresh tokens with Google: https://github.com/dexidp/dex/issues/863 - but as this is closed, I thought this has been solved.
Thanks,
Brian.
name | The user's full name, in a displayable form. Might be provided when:
When |