bennadel / JSONWebTokens.cfc

Thi is a ColdFusion gateway to help encode and decode JSON web tokens.
Other
58 stars 26 forks source link

Doesn't work in Lucee 5.x #7

Open redtopia opened 6 years ago

redtopia commented 6 years ago

I didn't spend a lot of time on this, but I got it working by scoping global variables in the CFCs.

Also it might be worth noting that real-world examples would likely require quotes around the payload properties.

Hit me up if you're interested in knowing what I did. Otherwise, if this project isn't really needed anymore and a different library would be better, adding that to the docs would be great.

redtopia commented 6 years ago

I did find this one, which works in Lucee out of the box. https://github.com/coldfumonkeh/cf_jwt

4strid commented 6 years ago

Yeah adding explicit scope to the global variables fixed it for me.