I got a problem, looking forward to the help of everyone.
I logged in and generated the jwt token, this is my login function, and the jwt token was generated.
But when I use that jwt token to create a course, it cannot read the token (invalid token).
this is an error
i don’t know what happened…
I tried transferring the token to the body for the request but it didn’t work.
Changing secretkey to hard code also didn’t work.
Only when I removed the jwt to create a course without authentication did it run successfully
My english is not good, hope the helping
1