...

/

JWT Token With Standards

JWT Token With Standards

Learn about JWT tokens with standards and MicroProfile specifications with a code example.

Overview

In the lesson “JWT as an Authentication Token,” we used a JWT token for authentication purposes but used a custom-made webFilter instead of Java Enterprise standards. The OpenID Connect standard is part of Jakarta EE 10, which was released in May 2022. MicroProfile can use integrated JWT tokens, similar to the example in the lesson “JWT as an Authentication Token.”

MicroProfile aims to optimize Enterprise Java for a microservices architecture. It is based on the Java EE/Jakarta EE standard plus API specifically for microservices such as REST Client, Configuration, Open API, and so on. These specifications can also ...