[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: JWT token - how to read?

  • Thread starter Thread starter goo
  • Start date Start date
Status
Not open for further replies.
G

goo

Guest
Your the man :-) thanx Sendt fra min iPad 5. jul. 2018 kl. 07:41 skrev slegian-bva : Update from Progress Community slegian-bva Sort of, once we sorted out the working version and the mechanics. The certificate business made things a bit more complicated. MS seem to be still working on this, the API changed from 4.xx to 5.xx, the doco was not in sync, the samples were around 4.xx and the certificate business only worked in 5.xx Free code so can't complain... It turned out we need 2 assemblies - Microsoft.IdentityModel.Tokens, Version=5.2.2.0 and System.IdentityModel.Tokens.Jwt, Version=5.2.2.0 You then use the System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler:ValidateToken to get a yay/nay and a "Microsoft.IdentityModel.Tokens.SecurityToken" object which you can then cast to System.IdentityModel.Tokens.Jwt.JwtSecurityToken which is a nice JWT representation. I'll see if I can put up some sample code... View online You received this notification because you subscribed to the forum. To unsubscribe from only this thread, go here . Flag this post as spam/abuse.

Continue reading...
 
Status
Not open for further replies.
Back
Top