-
This token: token, err := jwt.
NewBuilder().
Audience([]string{s.Secreter.GetAuth0Audience()}).
Build()
s.Require().NoError(err)
signed, err := jwt.Sign(token, jwt.WithKey(jwa.RS256, s.Keyset)) where |
Beta Was this translation helpful? Give feedback.
Answered by
divmgl
Sep 16, 2022
Replies: 1 comment
-
Of course, as soon as I post about it, I figured it out. The docs helped. signingKey, err := jwk.FromRaw(s.SigningKey)
s.Require().NoError(err)
signingKey.Set("kid", "lol") |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
divmgl
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Of course, as soon as I post about it, I figured it out. The docs helped.