Update jwt_adapter.go
This commit is contained in:
parent
87cad6d1ef
commit
61bbae034d
@ -69,7 +69,7 @@ func Decode(tokenString string) (*JwtAdapter, error) {
|
||||
return nil, fmt.Errorf("unexpected signing method: %v", token.Header["alg"])
|
||||
}
|
||||
|
||||
return jwy.ParseRSAPublicKeyFromPEM([]byte(accessSecret))
|
||||
return jwt.ParseRSAPublicKeyFromPEM([]byte(accessSecret))
|
||||
})
|
||||
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user