Skip to main content
GET
/
prompts
TypeScript
import { ManagementClient } from "auth0";

async function main() {
    const client = new ManagementClient({
        token: "<token>",
    });
    await client.prompts.getSettings();
}
main();
{
  "universal_login_experience": "new",
  "identifier_first": true,
  "webauthn_platform_first_factor": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Prompt settings successfully retrieved.

universal_login_experience
enum<string>

Which login experience to use. Can be new or classic.

Available options:
new,
classic
identifier_first
boolean

Whether identifier first is enabled or not

webauthn_platform_first_factor
boolean

Use WebAuthn with Device Biometrics as the first authentication factor