DEV Community

Discussion on: Securing and caching your Hyperlambda endpoints

Collapse
 
mshafiey profile image
Mohsen

Can I ask you why you choose JWT ?

Collapse
 
polterguy profile image
Thomas Hansen

Great question, and there are many good reasons for choosing JWT.

  • It's an open standard
  • It's a transparent token (implying the frontend can inspect it)
  • It's highly secure due to its internals of HMAC signature

Etc, etc, etc - It's not "perfect", but when I researched the issue, it was definitely the best auth mechanism at the time ... ^_^

Collapse
 
mshafiey profile image
Mohsen

🙏 thanks