-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Prerequisites
- I have searched the repository’s issues, Kinde community and public roadmap to ensure my feature request isn’t a duplicate
- I have read the contributing guidelines
- I agree to the terms within the code of conduct
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
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request