# Is it possible to skip the user consent prompt for an ADFS connection?

**URL:** <https://community.auth0.com/t/is-it-possible-to-skip-the-user-consent-prompt-for-an-adfs-connection/8710>\
**Category:** Get Help\
**Tags:** consent, audience\
**Created:** [November 9, 2017, 6:10pm UTC](https://community.auth0.com/t/is-it-possible-to-skip-the-user-consent-prompt-for-an-adfs-connection/8710 "2017-11-09T18:10:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dillon](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@dillon](https://community.auth0.com/u/dillon)\
**Post date:** [November 9, 2017, 6:10pm UTC](https://community.auth0.com/t/is-it-possible-to-skip-the-user-consent-prompt-for-an-adfs-connection/8710/1 "2017-11-09T18:10:48Z")

</div>

I’ve set up an ADFS connection, and would like to skip the user consent prompt that displays the first time a user signs in. I’ve found a few solutions for this if a custom API is configured for the audience ([How do I skip the consent page for my API Authorization flow? - Auth0 Community](http://community.auth0.com/questions/286/how-do-i-skip-the-consent-page-for-my-api-authoriz)), but nothing that addresses the issue for the default configuration ([Add Login to Your Angular Application - Auth0 Docs](https://auth0.com/docs/quickstart/spa/angularjs#configure-angular-auth0)). Is this possible with the audience set to ‘[https://my-tenant.auth0.com/userinfo](https://my-tenant.auth0.com/userinfo)’?

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [November 9, 2017, 6:34pm UTC](https://community.auth0.com/t/is-it-possible-to-skip-the-user-consent-prompt-for-an-adfs-connection/8710/2 "2017-11-09T18:34:30Z")

</div>

The `/userinfo` audience should not force the consent screen to be shown by itself (at the time the post you linked was written it did force it, but that has changed) so **can you confirm that you’re not getting the consent screen because of the point that is applicable no matter the API setting; in particular, if you’re using a `localhost` origin for development purposes the consent screen will be shown** no matter the setting at the audience level (as mentioned in that post).

---

<div class="post-metadata">

**Author:** ![dillon](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@dillon](https://community.auth0.com/u/dillon)\
**Post date:** [November 10, 2017, 3:20am UTC](https://community.auth0.com/t/is-it-possible-to-skip-the-user-consent-prompt-for-an-adfs-connection/8710/3 "2017-11-10T03:20:46Z")

</div>

Thanks for the response @jmangelo. I’m seeing this on the deployed version of the site. `localhost`is not in the allowed callback URLs specified in the client settings.

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [November 10, 2017, 9:15pm UTC](https://community.auth0.com/t/is-it-possible-to-skip-the-user-consent-prompt-for-an-adfs-connection/8710/4 "2017-11-10T21:15:04Z")

</div>

Can you ensure that the client application in question is marked as a first-party client (see this [how-to](https://auth0.com/docs/clients/client-types#checking-your-client-type)). If it’s not explicitly marked as a first-party can you perform an update to the client settings and set that field explicitly (you’ll have to do the update through the Management API).

---

<div class="post-metadata">

**Author:** ![dillon](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@dillon](https://community.auth0.com/u/dillon)\
**Post date:** [November 16, 2017, 1:37pm UTC](https://community.auth0.com/t/is-it-possible-to-skip-the-user-consent-prompt-for-an-adfs-connection/8710/5 "2017-11-16T13:37:49Z")

</div>

That was it! Checked the API response you suggested and it was not returning an `is_first_party` field. Updated it to `true` and the consent prompt no longer shows up. Thanks for the help.

---

<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 2, 2018, 5:57am UTC](https://community.auth0.com/t/is-it-possible-to-skip-the-user-consent-prompt-for-an-adfs-connection/8710/6 "2018-03-02T05:57:21Z")

</div>


