# Swift - Social log-in only, bypass default Log In/Sign Up screen

**URL:** <https://community.auth0.com/t/swift-social-log-in-only-bypass-default-log-in-sign-up-screen/55573>\
**Category:** Get Help\
**Tags:** salesforce, social-connections\
**Created:** [January 1, 2021, 1:23am UTC](https://community.auth0.com/t/swift-social-log-in-only-bypass-default-log-in-sign-up-screen/55573 "2021-01-01T01:23:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kingpin](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kingpin/32/14660_2.png) [@kingpin](https://community.auth0.com/u/kingpin)\
**Post date:** [January 1, 2021, 1:23am UTC](https://community.auth0.com/t/swift-social-log-in-only-bypass-default-log-in-sign-up-screen/55573/1 "2021-01-01T01:23:14Z")

</div>

Happy new year!

I’ve just implemented Auth0 into my mobile app (Swift/Iphone) and now I am wondering if it is possible to bypass the standard Auth0 Log In / Sign up page and go straight to my Social Log In (Salesforce) page instead as this is the only from of authentication that I will be using. It makes for a faster and cleaner experience.

Thanks.

---

<div class="post-metadata">

**Author:** ![sidharth.chaudhary](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sidharth.chaudhary/32/20686_2.png) [@sidharth.chaudhary](https://community.auth0.com/u/sidharth.chaudhary)\
**Post date:** [January 11, 2021, 5:11am UTC](https://community.auth0.com/t/swift-social-log-in-only-bypass-default-log-in-sign-up-screen/55573/2 "2021-01-11T05:11:19Z")

</div>

Hey @kingpin, Welcome to the Auth0 Community!

You can use the connection parameter in the /authorize query to mention the connection name. This will directly take you to the IDP login page.

I tried with google login and it worked for me. The following change went into my swift code:

```
Auth0
            .webAuth()
            .scope("openid profile")
            .audience("https://" + clientInfo.domain + "/userinfo")
            .connection("google-oauth2") // This param with connection name
            ....

```

It’s in the HomeViewController.swift file  
Have a look and let me know how you go!

---

<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:** [January 26, 2021, 5:11am UTC](https://community.auth0.com/t/swift-social-log-in-only-bypass-default-log-in-sign-up-screen/55573/3 "2021-01-26T05:11:24Z")

</div>

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