Docs

Passwordless SMS & Email Authentication

Customize the Consent Prompt

Versioncurrent

When a third-party application requests Passwordlessscopes, users see a consent prompt. By default, this prompt uses the scope name to generate text and groups all scopes for a resource, displaying the resource's actions in a single line.

For example, let's say you have an Auth0-registered API with the following defined scopes:

  • read:messages: Be able to read your email messages
  • write:messages: Write messages

The consent prompt will display: Messages: read and write your messages.

Instead, you can use your defined scope description to generate this text. In this case, the consent dialog would display: Be able to read your email messages, Write messages.

This change is made at the tenant level, so it will affect consent prompts for all APIs on the tenant.

Configuration

Set your tenant's use_scope_descriptions_for_consent flag to true by making the following API call:




Tutorials

Set your tenant's use_scope_descriptions_for_consent flag to false by making the following API call:




Passwordless in Single-Page Apps

Keep reading