Skip to content

How do I set kid on a token? #820

Answered by divmgl
divmgl asked this question in Q&A
Discussion options

You must be logged in to vote

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")

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by divmgl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant