Skip to content
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.

logout - bad request #70

Open
consigliory opened this issue Feb 9, 2017 · 1 comment
Open

logout - bad request #70

consigliory opened this issue Feb 9, 2017 · 1 comment

Comments

@consigliory
Copy link

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
Copy link
Contributor

mraible commented Feb 14, 2017

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants