How to choose Identity Provider from JavaScript

We have more than identity provider integrated with genesys, like Azure,Auth0 and Octa and using authorization code flow grant to authenticate web application and get access token.
When we initiate login using JavaScript SDK, In login screen its always asking to choose the identity provider manually, Is there any way to choose identity provider programmatically to skip this manual selection?
image
For example passing identity provider name as third param which will initiate login for the respective IDP.
image

We cannot use Disable genesys cloud authentication in organizational settings , as that will affect all the login and we may need to choose different identity provider(Azure,Auth0) for different websites

Check out this on github which shows options to performing client auth where is allows you to send in the provider into the loginimplicit.

/**

  • Authentication provider to log in with e.g. okta, adfs, salesforce, onelogin.
  • This is only used when an org is also specified.
    */
    provider?: string;

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.