mirror of
https://github.com/alibaba/higress.git
synced 2026-04-21 20:17:29 +08:00
fix jwt-auth plugin claims_to_headers failed (#1075)
This commit is contained in:
@@ -134,6 +134,7 @@ func consumerVerify(consumer *cfg.Consumer, verifyTime time.Time, header HeaderP
|
||||
denied: deniedJWTVerificationFails,
|
||||
}
|
||||
}
|
||||
token.UnsafeClaimsWithoutVerification(&rawClaims)
|
||||
|
||||
if out.Issuer != consumer.Issuer {
|
||||
return &ErrDenied{
|
||||
|
||||
Reference in New Issue
Block a user