Strapi Authentication Issue

1.3k Views Asked by At

I am currently using Strapi as my backend and am having issues with authentication.

When I hit /api/auth/local, the user is created in the strapi backend and the jwt token is created.

After that, I try to hit /api/users/me and the endpoint returns a 404. I have the user permissions for an authenticated user turned on (find, findOne, and me) but am still getting this error.

Please help and thank you in advance!

1

There are 1 best solutions below

0
Leffa On

In my case, was appearing error 500 all the time, because the user was blocked. After change, worked for me.

enter image description here

I follow these explanation https://www.youtube.com/watch?v=8rju99LTUNA