# Cannot remove consent screen for first-party app

**URL:** <https://community.auth0.com/t/cannot-remove-consent-screen-for-first-party-app/130534>\
**Category:** Get Help\
**Tags:** apis, application\
**Created:** [March 26, 2024, 5:22pm UTC](https://community.auth0.com/t/cannot-remove-consent-screen-for-first-party-app/130534 "2024-03-26T17:22:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![diogo.baeder](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/diogo.baeder/32/55902_2.png) [@diogo.baeder](https://community.auth0.com/u/diogo.baeder)\
**Post date:** [March 26, 2024, 5:22pm UTC](https://community.auth0.com/t/cannot-remove-consent-screen-for-first-party-app/130534/1 "2024-03-26T17:22:35Z")

</div>

Hi everyone,

We’re using Auth0 in the company I work for, and we have the following integration situation:

- A web app serving static content and acting as an authentication layer
- An API serving the data
- The web app authenticates the user with the OAuth2 Authorization Code flow
- The Application in Auth0 for this web app is a “Regular Web Application” and it’s “OIDC Conformant”
- The API in Auth0 has “Allow Skipping User Consent” enabled, and it has a few scopes we’re claiming in the Application (“use:ui” and “use:api”)
- The Application was already PATCHed with “is\_first\_party: true” via the Management API
- This integration is happening in a remote environment, therefore not in “localhost”

However, I just can’t seem to be able to disable the consent screen, and this is impacting us because the app authenticating the user belongs to us, it’s a first-party app indeed.

Any ideas of what might be wrong? Maybe we’re missing something from our configurations? Is there any parameter that has to be passed with a certain value for this to work?

Thanks!

---

<div class="post-metadata">

**Author:** ![remus.ivan](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/remus.ivan/32/68771_2.png) [@remus.ivan](https://community.auth0.com/u/remus.ivan)\
**Post date:** [April 10, 2025, 8:22pm UTC](https://community.auth0.com/t/cannot-remove-consent-screen-for-first-party-app/130534/3 "2025-04-10T20:22:57Z")

</div>

Hi @diogo.baeder,

Welcome to the Auth0 Community !

The steps taken above seem to be the correct ones in order to skip user-consent for a first-party-application, but the 3 things that I was able to find that might interfere with accomplishing this might be:

1. adding `“prompt=consent”` to your authorize call
2. if `localhost` appears in any domain in the application’s **Allowed Callback URLs** setting
3. this will also depend if the audience is a Custom API or the Management API - you can check out this [Knowledge Article](https://community.auth0.com/t/disable-the-consent-screen-for-profile-when-logging-into-auth0-applications/96402) about this

Hope this helps your case, but others as well!  
Thanks,  
Remus

---

<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:** [April 24, 2025, 8:23pm UTC](https://community.auth0.com/t/cannot-remove-consent-screen-for-first-party-app/130534/4 "2025-04-24T20:23:49Z")

</div>

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