Invalid redirect_uri with load_balance. Force domain.
renatocassino opened this issue · 0 comments
renatocassino commented
Hello guys.
I'm making a load balance server and I'm having troubles with redirect_uri in omniauth.
I have a server that I configured a upstrem called mydomain_service { }. This server send a request for another server machine.
When I call the route /auth/facebook, for example, the redirect_uri is mydomain_service instead of mydomain.com.
There is a way to 'force' a redirect_uri in omniauth?