Auth0 Home Blog Docs

I am trying to skip Auth0 login page and go straight to the provider but it doesn't work

Hi, thank you very much for allowing me to be part of you community :smiley:

I am asking for help because I am trying to configure Auth0 to go straight to the provider (instagram) but it doesn’t work.

In this tutorial: https://auth0.com/docs/universal-login#how-does-universal-login-work it says that if I pass the connection params when calling authorize it should do it but it is not working. This is my code

export default class Auth {
  auth0 = new auth0.WebAuth({
    domain: '...',
    clientID: '...',
    redirectUri: '...',
    responseType: 'token id_token',
    scope: 'openid',
  })

  login() {
    this.auth0.authorize({
      connection: 'instagram',
    })
  }
}

Can someone point me out what I am doing wrong?

Note: My app is already configured with instagram in Auth0.

Thank you very much for you help.

Sorry. I solved it. It is working.

1 Like

@johnny.zabala can you share with the rest of community how you handled it so everyone can learn on your case? Thank you a lot!

1 Like

Hi @johnny.zabala. Can I ask how you did this? I just set up an ‘enterprise connection only’ app in my test environment and was trying mimic the same behaviour.

1 Like