stormpath / stormpath-sdk-angular

Angular Components for Stormpath
https://docs.stormpath.com/angular/api/
Apache License 2.0
7 stars 9 forks source link

logout - bad request #70

Open consigliory opened 7 years ago

consigliory commented 7 years ago

I use nginx to route /api request to localhost different port to avoid issues with cors. but on logout it returns 400. same on login. angular 2 app runs on 5001 api on 5000 when I access it directly on port 5001 it works just fine but when I access it on nginx 8080 logout returns 400 bad request.

nginx config ideas I used https://gist.github.com/soheilhy/8b94347ff8336d971ad0

could you suggest anything?

mraible commented 7 years ago

Do you have your client and server running on the same server/port or on separate ones? What version of the Angular SDK are you using?