# Skip user consent when using social connection

**URL:** <https://community.auth0.com/t/skip-user-consent-when-using-social-connection/18061>\
**Category:** Get Help\
**Tags:** consent, social-connections\
**Created:** [November 19, 2018, 2:34am UTC](https://community.auth0.com/t/skip-user-consent-when-using-social-connection/18061 "2018-11-19T02:34:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![matterdox](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@matterdox](https://community.auth0.com/u/matterdox)\
**Post date:** [November 19, 2018, 2:34am UTC](https://community.auth0.com/t/skip-user-consent-when-using-social-connection/18061/1 "2018-11-19T02:34:43Z")

</div>

I have a Single Page Application in Auth0, and I configure it to use Social Connections (Facebook) using my own login page. Is there any way I can skip Auth0’s Consent page after authorizing my Facebook app to get my Facebook information?

I did some research and it seems that the Auth0’s Consent page cannot be skipped for third party application. In this case, I don’t really have any third party application. It’s my own application configured to use social connection

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [November 19, 2018, 7:46pm UTC](https://community.auth0.com/t/skip-user-consent-when-using-social-connection/18061/3 "2018-11-19T19:46:51Z")

</div>

Hey there @matterdox!

If you’re developing a 1st party client, head to the [APIs page](https://manage.auth0.com/#/apis) and select your API. In the `Settings` you’ll see an option to `Allow Skipping User Consent` which you should enable.

This toggle allows skipping consent for _verifiable_ first party clients. If your client is hosted on `localhost` , Auth0 has no reason to believe that it’s truly a 1st party client as the user may be maliciously (or without their knowledge) running any client on the `localhost` . If you want to skip the consent page during development, you can setup a mapping in your `hosts` file to map `localhost` to `app.local` for example.

Reference point:

> **[User Consent and Third-Party Applications](https://auth0.com/docs/get-started/applications/confidential-and-public-applications/user-consent-and-third-party-applications)**
>
> Learn how to decouple APIs from applications that consume them and define third-party apps that you don't control or may not trust.

Hope that helps!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [December 4, 2018, 11:49am UTC](https://community.auth0.com/t/skip-user-consent-when-using-social-connection/18061/4 "2018-12-04T11:49:42Z")

</div>

Hey @matterdox!

Have you managed get your stuff working based on the info I provided you above? Let me know if you need any further assistance!

---

<div class="post-metadata">

**Author:** ![matterdox](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@matterdox](https://community.auth0.com/u/matterdox)\
**Post date:** [December 4, 2018, 10:12pm UTC](https://community.auth0.com/t/skip-user-consent-when-using-social-connection/18061/5 "2018-12-04T22:12:25Z")

</div>

Hi @konrad.sopala,

Thanks for your answer, but unfortunately not yet. I don’t define our backend as API in Auth0. What I had are:

- An Auth0 application configured to be SPA with Facebook social connections
- An Auth0 rule that add scopes after user login
- A standalone SPA hosted in CDN. It uses auth0-js to login with Facebook
- A backend APi that accepts Auth0 token. The SPA talks to this backend

A new user would experience the following flow:

- Click on Login with Facebook =\> a Facebook window is popped up (expected)
- Login to Facebook from the Facebook window and authorize my app (expected)
- Get redirected to Auth0 consent page, asking if user trusts my Auth0 application to access \<my\_auth0\_tenant\_name\> (not desirable)
