Grow your YouTube views, likes and subscribers for free
Get Free YouTube Subscribers, Views and Likes

How to verify a JWT token in Java | JWT Keycloak RSA256 and Auth0

Follow
PS After Hours

In this video, I will show you how to validate the JWT token in a Java application. We will use the Auth0 library to check if a Keycloak issued JWT token comes from a trusted issuer if the signature verification (RSA256 in this case) is correct and if the token has not expired yet.
As part of the process, we will also load the Keycloak public key and talk about storing the public key locally and how to make everything faster with guava cache.
We will wrap everything in a nice JwtValidator class to be used anywhere you want to.

What are JWT tokens and how to use them:    • What is JWT? The JSON Web Token intro...  

Code example: https://github.com/psafterhours/jwt...

#quadmeup #jwt #keycloak

If you want to support me:
✅ Patreon   / pawelspychalski  
✅ Banggood affiliate http://bit.ly/2P8oAxr
✅ Paypal https://paypal.me/pawelspychalski

▶ Discord server https://quadmeup.com/discord'>https://quadmeup.com/discord
▶ My website https://quadmeup.com/

posted by Mitwalli2i