oauth2
oauth2 copied to clipboard
generates.NewJWTAccessGenerate kid parameter unclear
What is the kid parameter supposed to be and how is it supposed to be used. It's rather ambiguous. It looks like from the RFC it's meant to be a "key id" the server can identify the key used if it presents multiple. Is that correct?
As my guess: "key id" is for multi-server scenario. Servers can valid jwt tokens signed by another server with retrieving proper signing key with "key id". There's a discuss in #110