Trying to find information about this. I'm wondering what format the OAuth2 Access Token is, or should be. Is it ok to use JWT format for the Access Token?
1 Answer
OAuth does not specify the access token itself, the format is opaque to the protocol flow. It can be any thing you want, e.g. a JWT if you want it to be self-contained.
3 Comments
user1340582
Thanks. Are there any guidelines for this? I am asking because I first thought about using JWT as it is a "standard", but now I'm wondering if it is unnecessary...
Hans Z.
here's some guidance: nimbusds.com/blog/implementing-oauth-2-0-access-tokens in the end it is up to the agreement between RS and AS, which does not necessarily need to be standardized
VorpalSword
that link's dead, do you have any others to that content, Hans?