# How can I skip universal login for django app

**URL:** <https://community.auth0.com/t/how-can-i-skip-universal-login-for-django-app/78615>\
**Category:** Get Help\
**Created:** [February 20, 2022, 9:03am UTC](https://community.auth0.com/t/how-can-i-skip-universal-login-for-django-app/78615 "2022-02-20T09:03:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karunamay](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/karunamay/32/35180_2.png) [@Karunamay](https://community.auth0.com/u/Karunamay)\
**Post date:** [February 20, 2022, 9:03am UTC](https://community.auth0.com/t/how-can-i-skip-universal-login-for-django-app/78615/1 "2022-02-20T09:03:37Z")

</div>

How can I skip universal login and go directly into the social login page? I am following Django quick start guide.  
I have found this configuration in [https://community.auth0.com/t/how-to-skip-aut0-login-page-and-directly-redirect-in-to-social-login-site/28211/3?u=karunamay](https://community.auth0.com/t/how-to-skip-aut0-login-page-and-directly-redirect-in-to-social-login-site/28211/3) post

```auto
https://[tenant].auth0.com/authorize?
audience=[API Identifier]
&scope=openid+profile+email
&response_type=token
&client_id=[Client ID]&connection=[Connection name]
&redirect_uri=[Redirect URI]
&nonce=123

```

But confused about where to edit this.  
Here is the Django code

```auto
class Auth0(BaseOAuth2):
    """Auth0 OAuth authentication backend"""
    name = 'auth0'
    connection='twitter'
    SCOPE_SEPARATOR = ' '
    ACCESS_TOKEN_METHOD = 'POST'
    REDIRECT_STATE = False
    EXTRA_DATA = [
        ('picture', 'picture'),
        ('email', 'email')
    ]

    def authorization_url(self):
        return 'https://' + self.setting('DOMAIN') + '/authorize'
        # return f"https://{self.setting('DOMAIN')}/authorize?connection=twitter"

    def access_token_url(self):
        return 'https://' + self.setting('DOMAIN') + '/oauth/token'

    def get_user_id(self, details, response):
        """Return current user id."""
        return details['user_id']

    def get_user_details(self, response):
        # Obtain JWT and the keys to validate the signature
        id_token = response.get('id_token')
        jwks = request.urlopen(
            'https://' + self.setting('DOMAIN') + '/.well-known/jwks.json')
        issuer = 'https://' + self.setting('DOMAIN') + '/'
        audience = self.setting('KEY') # CLIENT_ID
        payload = jwt.decode(id_token, jwks.read(), algorithms=[
                             'RS256'], audience=audience, issuer=issuer)
        return {'username': payload['nickname'],
                'first_name': payload['name'],
                'picture': payload['picture'],
                'user_id': payload['sub'],
                'email': payload['email']}

```

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [February 23, 2022, 3:55pm UTC](https://community.auth0.com/t/how-can-i-skip-universal-login-for-django-app/78615/3 "2022-02-23T15:55:26Z")

</div>

Hi @Karunamay,

Thanks for reaching out to the Auth0 Community!

I understand you would like to skip the Universal Login page and direct your users straight to the Social Login Page.

In this case, you will need to specify the `connection` parameter in your `/authorize` request.

For example:

```auto
https://YOUR_DOMAIN/authorize?
    response_type=code&
    client_id=YOUR_CLIENT_ID&
    redirect_uri=https://YOUR_APP/callback&
    scope=SCOPE&
    audience=API_AUDIENCE&
    state=STATE&
    connection=YOUR_SOCIAL_CONNECTION_NAME

```

Once this is complete, your users will be directed to the Social Login page to authenticate into your application.

Hoped this helps!

Please do not hesitate to reach out if you have additional questions.

Thank you.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 10, 2022, 3:56pm UTC](https://community.auth0.com/t/how-can-i-skip-universal-login-for-django-app/78615/4 "2022-03-10T15:56:13Z")

</div>

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