Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auth URLs point to port 4000 but server on 5000 #26

Open
claq2 opened this issue Sep 2, 2017 · 1 comment
Open

Auth URLs point to port 4000 but server on 5000 #26

claq2 opened this issue Sep 2, 2017 · 1 comment

Comments

@claq2
Copy link

claq2 commented Sep 2, 2017

I followed the setup instructions and got the UI running on port 4000 and the server on 5000. I changed the "linkedin" client config to use "live" (Microsoft) and entered my client ID and put my secret in the server's config.development.js file.

I can log in to Live on port 4000 but then the UI tries to reach /auth/live on port 4000 instead of 5000.

Did I miss a step where I need to tell aurelia-auth to use 5000 for the token exchange call?

@paulvanbladel
Copy link
Owner

Hi,
In the builds folder, there is serve.js and there you will learn that things a proxied.
Obviously, the proxying happens only in the DEV environment, when moving the production you should adapt to your own server side config.
Cheers
paul.

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

No branches or pull requests

2 participants