Adding Dynamic Okta Login Buttons for Multiple SAML Connections in Auth0

Hi @swifteam,

Welcome back to the Auth0 Community!

There are a few things you could do:

  1. Create an organization for each customer. For example, if your use case is a one to one mapping from application to the enterprise connection, you can select “No Prompt” and directly pass in the organization_id in the organization parameter on the /authorize request. This will redirect all organization members to a login page only with the enabled connections. Related documentation Enable Organization Connections
  2. Directly send users to the desired connection by appending the connection parameter to the /authorize request. Example: https://TENANT.us.auth0.com/authorize?client_id=CLIENT_ID&response_type=code&scope=openid+profile+email&redirect_uri=REDIRECT_URI&prompt=login&connection=CONNECTION_NAME. Directly adding the connection parameter forces the user to sign in with a specific connection.
  3. Create a custom login page. This would enforce Classic Login and is not generally recommended. But you would have full control over the login page. We are releasing Advanced Customizations for the New Universal Login Experience within the next few months, which will allow you to essentially do anything you want.

I hope this helps!

Best,

Mary Beth