Optional
clientOptional
clientOptional
clientProtected
configurationOptional
useMTLSGiven a user's email address and a connection, Auth0 will send a change password email.
This endpoint only works for database connections.
See: https://auth0.com/docs/api/authentication#change-password
var data = {
email: '{EMAIL}',
connection: 'Username-Password-Authentication'
};
await auth0.database.changePassword(data);
Optional
initOverrides: InitOverrideProtected
requestOptional
initOverrides: RequestInit | InitOverrideFunctionGiven a user's credentials, and a connection, this endpoint will create a new user using active authentication.
This endpoint only works for database connections.
See: https://auth0.com/docs/api/authentication#signup
var data = {
email: '{EMAIL}',
password: '{PASSWORD}',
connection: 'Username-Password-Authentication'
};
await auth0.database.signUp(data);
Optional
initOverrides: InitOverride
Sign-up and change-password for Database & Active Directory authentication services.