NetTalk Central

Author Topic: JWT (Jason Web Tokens)  (Read 5006 times)

ralonso2001

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
    • Qúbigo ERP
    • Email
JWT (Jason Web Tokens)
« 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!
Regards,
Rodrigo Alonso
Mendoza - Argentina

bshields

  • Sr. Member
  • ****
  • Posts: 392
    • View Profile
    • Inhabit
    • Email
Re: JWT (Jason Web Tokens)
« Reply #1 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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: JWT (Jason Web Tokens)
« Reply #2 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