rest-in-ci icon indicating copy to clipboard operation
rest-in-ci copied to clipboard

Token is right or worng

Open Siddheshshah89 opened this issue 6 years ago • 1 comments

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..?

Siddheshshah89 avatar Sep 05 '18 12:09 Siddheshshah89

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.

dhanifudin avatar Sep 05 '18 15:09 dhanifudin