Skip to content

Commit 9e04fea

Browse files
committed
fix: fix merge issue.
ClaimTokHash doesn't exist any more because that isn't how things work now. Signed-off-by: Alastair Houghton <[email protected]>
1 parent 261d230 commit 9e04fea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/oauth2.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ func (s *Server) newIDToken(clientID string, claims storage.Claims, scopes []str
342342
s.logger.Errorf("error computing c_hash: %v", err)
343343
return "", expiry, fmt.Errorf("error computing c_hash: #{err}")
344344
}
345-
tok.CodeHash = cHash
345+
tok[claimCodeHash] = cHash
346346
}
347347

348348
for _, scope := range scopes {

0 commit comments

Comments
 (0)