I’m trying to signup a new user on an Android device. I have a form with four fields like first_name
, last_name
, email
, password
. I already looked at the Android quickstart (Auth0 Android SDK Quickstarts: Login) and I’m using the following code:
authenticationClient.createUser(email, password, "", "Username-Password-Authentication").start(callback)
I do not see possibility to pass the custom parameters like first_name
and last_name
in your Android SDK, but in API documentation I see you have such possibility:
https://auth0.com/docs/api/authentication#signup
In iOS sdk you can also call createUser
with userMetadata
but on the Android SDK is not possible to do this:
On IOS:
Auth0.authentication().createUser(
email: dataModel.email,
username: nil,
password: dataModel.password,
connection: "Username-Password-Authentication",
userMetadata:
"given_name": dataModel.firstName,
"family_name": dataModel.lastName
]
) .start ...
Am I missing something?