Skip to content

Commit

Permalink
Resolves overriding auth_time with wrong value
Browse files Browse the repository at this point in the history
  • Loading branch information
arekkas committed Dec 17, 2017
1 parent 97fbeb3 commit ddff9af
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions token/jwt/claims_id_token.go
Expand Up @@ -56,10 +56,6 @@ func (c *IDTokenClaims) ToMap() map[string]interface{} {
ret["auth_time"] = c.AuthTime.Unix()
}

if !c.RequestedAt.IsZero() {
ret["auth_time"] = c.RequestedAt.Unix()
}

if len(c.AuthenticationContextClassReference) > 0 {
ret["acr"] = c.AuthenticationContextClassReference
}
Expand Down

0 comments on commit ddff9af

Please sign in to comment.