tobiasrasmsn
tobiasrasmsn
KKinde
Created by tobiasrasmsn on 7/8/2024 in #💻┃support
With a custom signup screen, how do I ask user for first name and last name?
How can I collect and provide a user's first and last name to Kinde Auth during a custom signup process using email+passwordless authentication in a Next.js application? I'm currently using a custom signup screen with the following RegisterLink component:
<RegisterLink
authUrlParams={{
connection_id:
process.env.NEXT_PUBLIC_KINDE_CONNECTION_PASSWORDLESS ||
"",
login_hint: email,
}}

>
<RegisterLink
authUrlParams={{
connection_id:
process.env.NEXT_PUBLIC_KINDE_CONNECTION_PASSWORDLESS ||
"",
login_hint: email,
}}

>
When users click this link, they're directed to a Kinde page to enter the OTP sent to their email. I've enabled the 'Ask for user first name and last name' option in Kinde settings, but these fields aren't appearing. I have input fields for first and last name on my custom signup screen, but I'm unsure how to pass this information to Kinde. Is there a way to include these details within the RegisterLink component or through another Kinde Auth method? Or do I need to handle this separately by saving the names to my own database? I'd appreciate guidance on whether Kinde supports collecting this information during the signup process, and if so, how to implement it correctly.
8 replies