Skip to content
Snippets Groups Projects
Unverified Commit f6077083 authored by Joel Speed's avatar Joel Speed
Browse files

Identify error as failure to retrieve refresh token

parent 8b344fe4
Branches
Tags
No related merge requests found
......@@ -216,7 +216,7 @@ func (c *oidcConnector) Refresh(ctx context.Context, s connector.Scopes, identit
}
token, err := c.oauth2Config.TokenSource(ctx, t).Token()
if err != nil {
return identity, fmt.Errorf("oidc: failed to get token: %v", err)
return identity, fmt.Errorf("oidc: failed to get refresh token: %v", err)
}
return c.createIdentity(ctx, identity, token)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment