Can't log in


#1

Just installed backend on api.mysite.com
installed front-end on www.mysite.com

When I try to log in I see request to /oauth/token and token is generated/returned
The next request is made to /api/v3/users/me and it returns 401 unauthorized (the previously generated token is sent with this request):

{
  "errors": [{
    "status": 401,
    "message": "Unauthorized."
  }]
}

Any ideas?


#2

try again. It will work as it has worked for me kmspico in the same way, I tried a month back!


#3

Yes alex02 is right, try again, may it will help


#4

There was some problem with the server where nginx (set up to be reverse proxy for Apache) was stripping the Authorization header from all requests.

I’ve installed it on another host (where only Apache is used) and I was able to log in successfully.