# ASP.Net Auth0 - Take user directly to social login page

**URL:** <https://community.auth0.com/t/asp-net-auth0-take-user-directly-to-social-login-page/62016>\
**Category:** Get Help\
**Created:** [April 30, 2021, 1:47pm UTC](https://community.auth0.com/t/asp-net-auth0-take-user-directly-to-social-login-page/62016 "2021-04-30T13:47:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sudhakar.raju](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sudhakar.raju/32/13774_2.png) [@sudhakar.raju](https://community.auth0.com/u/sudhakar.raju)\
**Post date:** [April 30, 2021, 1:47pm UTC](https://community.auth0.com/t/asp-net-auth0-take-user-directly-to-social-login-page/62016/1 "2021-04-30T13:47:12Z")

</div>

I’m using [ASP.Net](http://ASP.Net) core libraries to authenticate using Auth0. Currently flow is (Step 1) Home Page → (Step 2) Auth0 Social Login Selector → (Step 3) Social login → (Step 4) Home page (authenticated)

What I would like is to skip Step 2. Instead in my home page, i would show options for Facebook , LinkedIn etc and when user chooses one want to navigate to Step 3 above.

While docs say that connection name could be passed ( in js libraries), I don’t see a way to achieve this in [ASP.Net](http://ASP.Net) library

//Challenge user for authentication. Once authenticated redirect to returnUrl  
var authProperties = new AuthenticationProperties() { RedirectUri = returnUrl };  
authProperties.SetString(“connection”, “linkedin”); // IS THIS RIGHT WAY ?  
await HttpContext.ChallengeAsync(“Auth0”,authProperties);

Above is the code triggering authentication. Can you help on this.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [April 30, 2021, 7:16pm UTC](https://community.auth0.com/t/asp-net-auth0-take-user-directly-to-social-login-page/62016/3 "2021-04-30T19:16:43Z")

</div>

Hi @sudhakar.raju,

Welcome to the Community!

If you pass a single `connection` param to the /authorize endpoint it will redirect you to the social provider, bypassing the Auth0 login page. Similar to what you have mentioned.

Assuming you are using the [auth0.net library](https://github.com/auth0/auth0.net), you would pass a connection as it is documented [here](https://auth0.github.io/auth0.net/#using-url-builders).

---

<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:** [May 15, 2021, 7:17pm UTC](https://community.auth0.com/t/asp-net-auth0-take-user-directly-to-social-login-page/62016/4 "2021-05-15T19:17:12Z")

</div>

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