signup
This SDK is deprecated in favor of the Core and UI JS SDKs. See Migrating to the latest SDKs to use the latest Core and UI SDKs.
|
Support for the Legacy JS SDK ends on 28 February, 2021. |
reach5('signup', {
data: object,
callback: function,
// Optional parameters
redirectUrl: string,
auth: object,
})
About this command
Create and authenticate a new user with the specified data.
A user may identify himself with either his email address or his phone number.
Examples
reach5('signup', {
data: {
givenName: 'John',
familyName: 'Doe',
email: 'john.doe@example.com',
password: 'N5uiKvve'
},
redirectUrl: 'https://example-email-validate.com',
auth: {}
}, function (err) {
// Handle error
});
Parameters
User profile data
|
|||||||||||||||||||||||||||||||||||||||
Store the user’s credentials with the Credentials Management API Defaults to false.
|
|||||||||||||||||||||||||||||||||||||||
The URL the user will be redirected to after clicking on the link contained in the email. This URL must be whitelisted in the |
|||||||||||||||||||||||||||||||||||||||
List of authentication options
|
|||||||||||||||||||||||||||||||||||||||
Event callback that was used with on. |