Auth0 Home Blog Docs

Auto Connection select



Is there a way to auto-select a connection. I’ve limited the connections to one allowed connection, but the user experience still means they have to click on that connection. It would be nice if it auto-selects that connection and authenticates without user input required.

export default class Auth {
  auth0 = new auth0.WebAuth({
    domain: 'XXXXXXX',
    clientID: 'XXXXXXX,
    redirectUri: 'http://XXXXXXX/callback',
    audience: '',
    responseType: 'token id_token',
    scope: 'openid',
    allowedConnections: 'Jumpcloud']


I might be missing something, but if you’re then using the authorize method then the parameter you would be looking for if you already knew the connection associated to the current end-user would be the connection parameter. See the reference documentation in particular the example for social login which showcases that parameter.