Prerequisites
What is the problem you’re trying to solve?
Currently there's no way to assign first_name and last_name to a new user during custom signup process.
register({
authUrlParams: {
connection_id: import.meta.env.VITE_KINDE_EMAIL_PASSWORD_CONNECTION_ID,
login_hint: email,
},
});
The created user object only contains the id and email,
{
"id": "kp_userid",
"email": "name@email.com",
"family_name": undefined,
"given_name": undefined,
"picture": undefined,
}
What solution would you like to see?
the authUrlParams should allow passing the first_name and last_name as parameters.
register({
authUrlParams: {
connection_id: import.meta.env.VITE_KINDE_EMAIL_PASSWORD_CONNECTION_ID,
login_hint: email,
first_name: firstName,
last_name: lastName
},
});
After custom signup, the user object should look like this:
{
"id": "kp_userid",
"email": "name@email.com",
"family_name": firstName,
"given_name": lastName,
"picture": undefined,
}
Additional information
No response
Prerequisites
What is the problem you’re trying to solve?
Currently there's no way to assign first_name and last_name to a new user during custom signup process.
The created user object only contains the id and email,
What solution would you like to see?
the
authUrlParamsshould allow passing the first_name and last_name as parameters.After custom signup, the user object should look like this:
Additional information
No response