Requesting access prompt

Hello, i have a question regarding the scope, every time the user logins , they have to click accept to login, is there a way to exclude this step ( maybe only once is ok, but each time , kind of gets annoying for the user)

Im using the new Universal login option.

I have tried commenting out the prompt for consent

but still asks for me the permission

I am currently using the Auth SDK 4.4 for Next.js

@auth0/nextjs-auth0”: “^4.4.2”,

Any help would be appreciated.

Hi @jsdev305,

Welcome to the Auth0 Community!

Firstly lets make sure that you are not passing the prompt=consent, since:

When redirecting to the /authorize endpoint, including the prompt=consent parameter will force users to provide consent, even if they have an existing user grant.

Otherwise, in order to skip user consent for every login, your application needs to be registered as a First Party App.

Note that this option only allows verifiable first-party applications to skip consent at the moment. As localhost is never a verifiable first-party (because any malicious application may run on localhost for a user), Auth0 will always display the consent dialog for applications running on localhost regardless of whether they are marked as first-party applications.

This is the documentation in reference - Skip consent for first-party applications.

Also this Knowledge Article describes how you can disable the consent screen - Disable the Consent Screen for Profile when Logging into Auth0 Applications, while also presenting how to set your application as is_first_party using the Management API.

Hope this helps!
Thanks,
Remus

1 Like

Hello Remus,
Thank you for the fast response
Your absolutely right , in the main layout, i was doing this

I will try the Auth0 dashboard solution regarding the consent , thanks .