Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
grammer
Browse files Browse the repository at this point in the history
Signed-off-by: byhsu <[email protected]>
  • Loading branch information
ByronHsu committed May 11, 2023
1 parent c248423 commit 443d795
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auth/authzserver/claims_verifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func verifyClaims(expectedAudience sets.String, claimsRaw map[string]interface{}
}

EmailKey := "email"
// In some cases, "user_info" field not exists in raw claim,
// In some cases, "user_info" field doesn't exist in the raw claim,
// but we can get email from "email" field
if emailClaim, found := claimsRaw[EmailKey]; found {
email := emailClaim.(string)
Expand Down

0 comments on commit 443d795

Please sign in to comment.