-
Notifications
You must be signed in to change notification settings - Fork 156
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
hostname different to localhost #2
Comments
Hi @rmcruzv To be honest I never tried outside localhost scope! So it may have a bug. Could you please share with me your configuration files ( I will check that after the weekend. And if possible a HAR file or something that I can use to analyze request/response flow |
Finally I found a solution thanks to khuser. You can view the solution at: spring-guides/tut-spring-security-and-angular-js#43 (comment) My zuul config (I'm using SSL):
My uaa-config
Thanks for the quick answer |
Ok thank you for feedback, I think your solution is quite same as the following workaround: spring-cloud/spring-cloud-netflix#942 (comment) I think I will try to create a docker setup with multi-domain (plus upgrade to |
@rmcruzv I'm using this implementation (a bit reworked for my special needs) on Do you tried with latest version? |
Hi friend,
I have been using your solution and I would like to say that works perfect while it's tested over localhost. But if I move the uaa-server and the gateway-server to a different host, the /uaa/oauth/authorize changes the "location" header to "uaa-host:gateway-port/uaa/login"
Ej:
eureka-server: 192.168.0.10:8761
gateway-server: 192.168.0.11:8080
uaa-server: 192.168.0.12:9999
When gateway redirects to 192.168.0.11:8080/uaa/oauth/authorize, the "location" header of this response is change to: 192.168.0.12:8080/login
Could you tell me what I'm doing wrong?
The text was updated successfully, but these errors were encountered: