Set up a custom DNS for local development

If you decide to use custom authorization, you must set up a custom DNS for local development before creating a Marketplace app.

This is required to avoid seeing the Auth0 user consent dialog on localhost during development. Auth0 displays the consent dialog the first time the Marketplace app loads. If you load the app on localhost during development, you'll see the consent dialog. Then, if you give consent there, the Marketplace app user will not see the dialog in production. This is problematic because you need to ensure that the Marketplace app user sees the dialog. By setting up a custom DNS, you skip seeing the consent dialog during development, ensuring that the Marketplace app user will see it in production.

Do you have some feedback for us?

If you have suggestions for improving this article,