rest-in-ci
rest-in-ci copied to clipboard
Token is right or worng
Hello,
Can you please tell me token is right or not. How to check that...? When is enter wrong token in authorization section then its give me an error
My Input :-
True Token :-
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6IjIifQ.Ntdca3475YkDSWoiYM72FQhcJr3o8VZu6EMac-4JZZg
I entered token :- eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6IjIifQ.Ntdca3475YkDSWoiYM72FQhcJr3o8VZu6EMac-4JZZgSomething
Error:-
Fatal error: Class 'Firebase\JWT\SignatureInvalidException' not found in C:\xampp_5.6\htdocs\rest-in-ci-master\application\libraries\JWT.php on line 109
Can you please tell me how to check eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6IjIifQ.Ntdca3475YkDSWoiYM72FQhcJr3o8VZu6EMac-4JZZgSomething is right or not..?
Please pull to update and check again. I add some try catch to ensure token is valid. Let me know if there are some error again.