Skip to main content
Example
export interface UserMembers {
  id: string | null;
  email: string | null;
  username: string | null;
  phoneNumber: string | null;
  picture: string | null;
  enrolledFactors: Array<string> | null;
  enrolledEmails: Array<EnrolledEmail> | null;
  enrolledPhoneNumbers: Array<EnrolledPhoneNumber> | null;
  enrolledDevices: Array<EnrolledDevice> | null;
  organizations: Organizations[] | null; // OPT-IN 
  userMetadata: { [key: string]: string } | null; // OPT-IN
  appMetadata: { [key: string]: string } | null; // OPT-IN
}
  • OPT-IN: These are properties that must be explicit configured to make them available to the screen. To learn more…
  • When the Auth0 server is not aware of the current user, the user properties are not available in screens. For example:
ScreensScreensScreensScreens
Login screensMFA OTP screensAccept Invitation screensInterstitialCaptcha screens
Signup screensMFA Phone screensDevice Code screensReset Password screens
Passkey screensMFA Push screensEmail Verification screensMFA Country Codes screens
Challenge screensMFA Recovery Code screensLogout Aborted screensMFA Detect Browser Capabilities screens
Email Identifier screensMFA WebAuthn screensLogout Complete screensMFA Enroll screens
Phone Identifier screensAccept Invitation screensBrute Force Protection screens

Properties

appMetadata
{[key: string]: string; }
email
string
enrolledDevices
enrolledEmails
enrolledFactors
string[]
enrolledPhoneNumbers
id
string
organizations
phoneNumber
string
picture
string
userMetadata
{[key: string]: string; }
username
string