Skip to main content
Version: 5.7.0

SysCreateUserExternalAuth

Manually creates a new user for the current app. Note that this API is normally used for in an admin app for pre-creating users. Standard, dynamic, on-the-fly authentication is done via the Authentication service.

ServiceOperation
userSYS_CREATE_USER_EXTERNAL_AUTH

Method Parameters

ParameterDescription
externalIdThe email address of the user
externalAuthTypeThe external auth type code
userNameThe display or contact name of the user (stored in player state)
contactEmailThe email address of the user
notificationTemplateIdIf specified, the user will be sent an email confirming that the account has been created

Usage

http://localhost:3000
// Cloud Code only. To view example, switch to the Cloud Code tab
JSON Response
{
"status": 200,
"data": {
"profileId": "0b53155b-1fc8-4916-xxxx-298379efc67a"
}
}