Logging in with a session

localhost:4200 is where ember-cli hosts it’s development server. However, if your server is on a different website say port 80, the cookies/login never seem to work, for me at least. It’s always logged out. I’m talking about Wordpress login’s in particular here.

Does anyone have a tried and tested way around this that they use.

Use a reverse proxy like nginx OR have wordpress serve the index.html from disk.

If nerdyworm’s suggestion didn’t help, would you mind explaining the setup a bit more?

You could try using ember server proxy… type this into your terminal;

ember server --proxy http://localhost:80

Two servers can’t use the same port I reckon