Return rawIDToken

We need this for Kubernetes oidc support
This commit is contained in:
Joel Speed 2017-09-29 16:23:48 +01:00
parent 7b26256df6
commit 141f3e3c5f
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ func (p *OIDCProvider) Redeem(redirectURL, code string) (s *SessionState, err er
}
s = &SessionState{
AccessToken: token.AccessToken,
AccessToken: rawIDToken,
RefreshToken: token.RefreshToken,
ExpiresOn: token.Expiry,
Email: claims.Email,