Recent

Author Topic: I want to implement jwt token by using mormot rsa256  (Read 2501 times)

Packs

  • Sr. Member
  • ****
  • Posts: 496
I want to implement jwt token by using mormot rsa256
« on: March 24, 2026, 06:30:17 pm »
Hi,

How to implement jwt token by using  mormot.

I want to create token by using public key and private key .

as well as I want to verify the token too.

Packs

  • Sr. Member
  • ****
  • Posts: 496
Re: I want to implement jwt token by using mormot rsa256
« Reply #1 on: March 26, 2026, 04:40:21 am »
Please help someone implement

ttomas

  • Sr. Member
  • ****
  • Posts: 251
Re: I want to implement jwt token by using mormot rsa256
« Reply #2 on: March 26, 2026, 03:49:55 pm »
Read the source,tests and documentation
In mormot.crypt.jwt.pas you have TJwtRs256 class
Check this AI generate docs
https://github.com/synopse/mORMot2/tree/master/docs
Chapter 21 and 23, you have some sample code
Some sample code for JWT, but not Rs265 in
https://github.com/synopse/mORMot2/tree/master/ex/ThirdPartyDemos/dmvc-ai

Packs

  • Sr. Member
  • ****
  • Posts: 496
Re: I want to implement jwt token by using mormot rsa256
« Reply #3 on: April 02, 2026, 06:24:25 am »
may I get publickey and private key encryption logic in lazarus and it should work in golang too.

 

TinyPortal © 2005-2018