Open jbrodie opened 7 months ago
The directing to an app is done solely via hostname. Can you verify where the SAML login redirects you to?
Yes, I have confirmed, the SAML redirect is 100% accurate. When running the same combination of sites, through invoker, the results are as expected. I am confused by this as well. I am not sure how this is confusing the callback on it.
Update: Through further testing, overmind was being started with puma-dev from the directory of app1. This was causing the redirect to come back to that app for some reason. I moved the Procfile out to neutral territory (the directory containing the 2 app folders, and updated the Procfile to cd to the proper directory before starting), and started, and the redirect back seems to work.
Not sure on this.
I am going to reverse the tables tomorrow and see if starting from app2 will cause same callback for app1 to respond to app2 instead.
Update: I have reversed the configurations, and booted the Procfile from app2 and then tried to SSO SAML into app1, and the results are the same, it sends the response for the SSO SAML to app2 rather than app1.
Almost looks like there is some defined default, as when I bring the procfile up from outside of the application folder, things seem to work normally.
For context, this works fine within Invoker. Making the transition from
invoker
toovermind
and this process works as expected when running withinvoker
. I have removed theinvoker
install and have installedovermind
withpuma-dev
as the replacement.I have 2 apps running from one
Procfile
.These are setup through
overmind
Lets call them app1 and app2. They both start and are responsive on their associated names,
app1.test
andapp2.test
. But once I initiate a SSO SAML login fromapp1
the response is picked up and processed fromapp2
.This is all in the same process so the ports don't change.