Closed udonetsm closed 6 months ago
I found mistake. Should use []byte(secret) in SignedString. But it doesn't work yet.
SignedString function with []byte(secret) doesn't work yet
It works only with HS256 key. Cloase this issue
Works with HS256 only
I'm trying to get access token with custom claims. But i get error(key s invalid) from SignedString function always. I can't follow exmple because the package doesn't contain RegisteregClaims type, only StandardClaims. Where am i wrong.