stormpath / stormpath-sdk-angular

Angular Components for Stormpath

Home Page:https://docs.stormpath.com/angular/api/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

logout - bad request

consigliory opened this issue · comments

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?

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?