How to generate JWT token in Java | JWT, RSA256 and Auth0

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 พ.ค. 2022
  • In this video, I will show you how to generate an RSA signed JWT token in Java. We will use auth0 JWT library to create a signed tokens with custom claims. Bear in mind, this example does not cover how to persist or load stored RSA key pair (public and private key used for signing the token). We will just generate a new key pair every time to make the example simpler!
    The Java example code github.com/ps-after-hours/jwt...
    How to validate a JWT token in Java • How to verify a JWT to...
    What are JWT tokens and how to use them: • What is JWT? The JSON ...
    #jwt #java
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 6

  • @PSAfterHours
    @PSAfterHours  2 ปีที่แล้ว +1

    How to validate a JWT token in Java th-cam.com/video/Dr4Ae61KGsM/w-d-xo.html

  • @ibrahim5952
    @ibrahim5952 ปีที่แล้ว

    a great video, keep making videos, thanks.

  • @saurabhchaurasiya8559
    @saurabhchaurasiya8559 ปีที่แล้ว

    Hi there, can you please help me in this? I have two files where I am storing public and private keys I am able to fetch those keys also but not able to generate token getting an exceptiona invalid key can you please make a video on this reading public and private key from file and generate token using RS256 Algorithm?

  • @ahamednisar4539
    @ahamednisar4539 ปีที่แล้ว

    Hi I am using invalid key formate exception when trying to use private key