Larry Thibeault
Member since Sep 8, 2016
- Profile: /members/13296-larry-thibeault.htm
- Comments: 6
Recent Blog Comments By Larry Thibeault
-
JSONWebTokens.cfc - A Small ColdFusion Module For JSON Web Tokens
Posted on Sep 9, 2016 at 9:51 AM
Well, I got it to work properly. I did however, have to edit a single line in a single file... Due to my Secret being base64 Encoded, I changed line 76 from: //key = charsetDecode( newKey, "utf-8" ); To: key = binaryDecode( newKey, "base64" ); After about an hour of testing... read more »
-
JSONWebTokens.cfc - A Small ColdFusion Module For JSON Web Tokens
Posted on Sep 8, 2016 at 5:04 PM
Well the only think that i can think of is that this is not working due to the fact that I am using Lucee and not the "Official" Cold Fusion. I get the same error when running the code you have there on my localhost. Thanks again, I will be back at it again tomorrow.... read more »
-
JSONWebTokens.cfc - A Small ColdFusion Module For JSON Web Tokens
Posted on Sep 8, 2016 at 4:19 PM
@Clayton Thanks, I'm assuming you didn't need to make any changes to the supplied JsonWebTokens.cfc or other files initially? I have tried both with and Without Bearer, that was my Initial thought since it showed up in my "output" with the token. But I have not had that there for quit... read more »
-
JSONWebTokens.cfc - A Small ColdFusion Module For JSON Web Tokens
Posted on Sep 8, 2016 at 3:43 PM
So, Still no luck, and I didn't really need to change any of my code. FYI, I am not attempting to decode the secret at any point in my code. I don't know if the function will automatically decode it, but I am assuming it is required to be decoded at some point in time. Seeing as when I test the Toke... read more »
-
JSONWebTokens.cfc - A Small ColdFusion Module For JSON Web Tokens
Posted on Sep 8, 2016 at 3:24 PM
Thank you, knowing that someone else is making it work will help. I will try your supplied code, and with luck, i just mistyped something(that never happens). I have left all the Defaults on Auth0 at this point in time. Thanks for the extremely fast response!... read more »
-
JSONWebTokens.cfc - A Small ColdFusion Module For JSON Web Tokens
Posted on Sep 8, 2016 at 3:03 PM
I am trying to get this to verify a JWT provided to me by Auth0, and unfortunately, the secret on the site is base64 encoded. And apparently(unless I'm missing something) the token can't be verified with the provided secret, even if i use an online tool to try to decode the secret. Has anyone else h... read more »