NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: ralonso2001 on March 26, 2019, 04:26:45 AM

Title: JWT (Jason Web Tokens)
Post by: ralonso2001 on March 26, 2019, 04:26:45 AM
Hi, I need to implement JWT to work with a web service that requires that my post send a token constructed by JWT.
How can I do it?
Thank you!
Title: Re: JWT (Jason Web Tokens)
Post by: bshields on March 26, 2019, 03:05:43 PM
Hi,

This explains the method:

https://en.wikipedia.org/wiki/JSON_Web_Token

All looks possible. Did you need help with any specific part of it?

This will help you diagnose you are doing it correctly:

https://jwt.io/


Regards
Bill
Title: Re: JWT (Jason Web Tokens)
Post by: Bruce on March 26, 2019, 11:16:52 PM
you may find this function useful;
https://www.capesoft.com/docs/NetTalk11/NetTalkUtilityFunctions.htm#NetMakeHMAC
as part of the process.

cheers
Bruce