• JMap.Server.getIdentityProviderById

    Returns the specified Identity Provider. Provider Ids can be derived from JMap.Server.getAllIdentityProvidersById

    Parameters

    • providerId: string

      the provider identity id

    Returns JServerAnyIdentityProvider

    Throws

    if specified provider id is not valid or not found, or if the server is not ready (info from server has not been fetched). Call JMap.Server.isReady() to know this information.

    Example

    console.log(JMap.Server.getIdentityProviderById("idp-1"))
    // {id: "idp-0", loginUrl: "https:// ....", ......}