Error decoding payload with accents
If any property of the payload is a string with accents this function ( Token::validate($token, $secret);) returns false without entering in any catch clause. Example: "name": "Gerard Hernàndez",
If any property of the payload is a string with accents this function ( Token::validate($token, $secret);) returns false without entering in any catch clause. Example: "name": "Gerard Hernàndez",
Hi Eric. Could you solve it in any way?
If any property of the payload is a string with accents this function ( Token::validate($token, $secret);) returns false without entering in any catch clause. Example: "name": "Gerard Hernàndez",
Hi Eric. Could you solve it in any way?
Yes, i encoded with base64 the full payload, and the result of the base64 is what i encrypt/decrypt with jwt.
If any property of the payload is a string with accents this function ( Token::validate($token, $secret);) returns false without entering in any catch clause. Example: "name": "Gerard Hernàndez",
Hi Eric. Could you solve it in any way?
Yes, i encoded with base64 the full payload, and the result of the base64 is what i encrypt/decrypt with jwt.
Thanks for the tip