How To Get A Static URL To Log In Via SSO On Login Page

benji
edited June 2024 in Integrations

Hi, I would like a static URL to use on my Microsoft My Apps page that will automatically start the login process for a user for the specified IdP (or if they are already logged in, they will immediately be directed to Decisions portal or studio). I am using dual authentication on my login page, and I would like to keep this. For this specifically, I'd like to use OpenID. Is this possible, and if so, how do I do this?

Comments

  • Yes, this is possible.

    Steps:


    We will use this URL template: http://<portalBaseURL/Login?IdentityProviderId=<provider_ID>


    You can get the providerID by querying the database: 


    select * from login_page_provider 


    Find the record that is the OpenID provider (or whichever is prefered). Copy the id from the “id” field.


    Then construct the URL in this format:


    [PortalBaseURL]/Login?IdentityProviderId=[id field from the login_page_provider table]


    This will be your static URL.

Sign In or Register to comment.