jov
❔ Invalid JWT token postman when validating
here is my repo if you dont mind https://github.com/sunnyjovita/CMSWebAPI/tree/master/CMSWebAPI
19 replies
❔ Invalid JWT token postman when validating
i finally can resolve this issue..... the problem "bearer error = "invalid_token" , error_description="The signature key was not found" has been changed into "Unauthorized" which resides in the AuthorizeAttribute.cs
19 replies
❔ Invalid JWT token postman when validating
after i register, i can login to the system. when i use login endpoint, it will return me a accound details and jwt token which will be used later for crud operation (there is authorization system for admin and user).
since i already successfully logged in as an admin, i will get a jwt token.
however, the problem is, as an admin, i can not do crud operations (such as: get all accounts).
I checked the token in jwt.io and the token returns the user id.
but why the program can not validate the token?????
19 replies