You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
user Authentication throwing invalid token error, even if everthing is perfect
After removing abort function from the JWT Authentication function, this is the response :
and these are server logs :
Token found in the header
NEVER PRINT SECRET eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImR1bW15X3VzZXIiLCJyb2xlIjoiYWRtaW4ifQ.KvN2yvobSh2PCgLbWCB9P8J9T7jV_q4gJ8P8vCzkn14
token parsed! ---------------->>>>>>>>
code fat rha hai bhai!!!!!!!!!:
{adarsh@gmail.com adarsh@123}
email found!
auth params password :adarsh@123
user password :adarsh@123
password matched!
token from auth_handler.go: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImFkYXJzaEBnbWFpbC5jb20iLCJleHBpcmVzIjoxNzExMDQ2MzUxfQ.DPs_PQ5383fwmCIqsED1Y5yyv5MMjm3HJ4mw7DC6buw
token created!
[GIN-debug] [WARNING] Headers were already written. Wanted to override status code 401 with 200
response sent!
The text was updated successfully, but these errors were encountered:
user Authentication throwing invalid token error, even if everthing is perfect
![image](https://private-user-images.githubusercontent.com/96974600/315577009-5fab8cde-79a0-4503-836f-ea650587f445.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk3NTk0MjYsIm5iZiI6MTcxOTc1OTEyNiwicGF0aCI6Ii85Njk3NDYwMC8zMTU1NzcwMDktNWZhYjhjZGUtNzlhMC00NTAzLTgzNmYtZWE2NTA1ODdmNDQ1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjMwVDE0NTIwNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQzYTdhNjVlYTA4MmUyZWUzZTNhZDBkNWNmNjk4OWRkMGQxNzM4ZjU2M2U4OGE2OWZiN2I1YjYyMmM0MDE0YTcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.yQ9cxpE4LSLojvmQorWW7n_CkhtmDPpDG0m72e7TcJY)
After removing abort function from the JWT Authentication function, this is the response :
and these are server logs :
The text was updated successfully, but these errors were encountered: