Avant de commencer
Vous avez besoin de ce qui suit :
- Un locataire de développement Auth0 avec la connexion universelle configurée.
- Une application configurée de domaine personnalisé.
- Une app de développement ou d’exemple (comme React sample) s’exécutant sur votre localhost.
- Authentification Identifier First activée
- Une connexion de base de données qui utilise les mots de passe.
Setup
In your , set up Universal Login, Identifier First Authentication, and a Database Connection that uses passwords. Run Auth0’s single-page ACUL boilerplate application by executing the code below, which provides additional context for Advanced Customizations interfaces.auth0-acul-react-boilerplate
folder and install the Advanced Customizations SDK.
Build the signup-id screen
Complete the Build Identifier First Signup with Password guide.Add a custom prompt field
In your Signup IDindex.tsx
file, add the following code:
Add Custom Prompts
Add Custom Prompts
POST
payload now includes ulp-firstName
.