Recommendations for interoperability

The maximum utility of MP-JWT as a token format depends on the agreement between both identity providers and service providers. This means identity providers—responsible for issuing tokensshould be able to issue tokens using the MP-JWT format in a way that service providers can understand to inspect the token and gather information about a subject. The primary goals for MP-JWT are as follows:

  • It should be usable as an authentication token.
  • It should be usable as an authorization token that contains application-level roles indirectly granted via a group's claim.
  • It can support additional standard claims described in IANA JWT Assignments (https://www.iana.org/assignments/jwt/jwt.xhtml), as well as non-standard ...

Get Hands-On Enterprise Java Microservices with Eclipse MicroProfile now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.