By: Ian Vogel user 25 Jun 2019 at 7:16 p.m. CDT

1 Response
Ian Vogel gravatar
Hello Gluu, We're using passport login with multiple SAML trust relationships. We'd like to direct users to different login pages for each SAML SP, mainly the title and logo. Is this possible? I did notice this article, but wasn't sure if these features or documentation had been updated since. https://support.gluu.org/customization/4431/multiple-login-page/ Thank you

By Michael Schwartz staff 26 Jun 2019 at 4:04 a.m. CDT

Michael Schwartz gravatar
If a user already has a session, and navigates to an OpenID or SAML protected website, he will not be prompted to login (i.e. that's what SSO means). If a user does not have a session, and navigates to an OpenID or SAML protected website, he will be redirected to the Gluu Server. You can send custom OpenID Parameters when you redirect to the authoriztion endpiont. In the Person Authentication Interception script, you could pick up these extra parameters and do something (like route to a specific login page). So it's definitely possible to do it... but you have to know a little bit about how to write these interception scripts.