Skip to content

Commit

Permalink
fix: fix merge issue.
Browse files Browse the repository at this point in the history
ClaimTokHash doesn't exist any more because that isn't how things work now.

Signed-off-by: Alastair Houghton <alastair@alastairs-place.net>
  • Loading branch information
al45tair committed Mar 18, 2021
1 parent 261d230 commit 9e04fea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/oauth2.go
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ func (s *Server) newIDToken(clientID string, claims storage.Claims, scopes []str
s.logger.Errorf("error computing c_hash: %v", err)
return "", expiry, fmt.Errorf("error computing c_hash: #{err}")
}
tok.CodeHash = cHash
tok[claimCodeHash] = cHash
}

for _, scope := range scopes {
Expand Down

0 comments on commit 9e04fea

Please sign in to comment.