Unusable JWT token

I am trying to use the JWT token, to call http endpoints from a local react project, postman, and node script, and I somehow end up always getting an error in some way.
So, I try to login using the email/password, I get a JWT token (access_token), I add it in the headers as jwtTokenString header, and I get:

  • CORS error on react, which I don’t get for any other authentication method (api-key, email/password, anonymous)
  • “invalid session: error finding user for endpoint” on postman, and node script
    what should I do about it? did anyone get to solve this issue before?