Welcome to the Kinde community

Updated 2 weeks ago

Custom username field

I want the username field to be labeled as "CNPJ" (National Register of Legal Entities in Brazil). Is it possible to rename the field and enforce a validation pattern?
A
2 comments
Hi @Matheus , Thank you for your inquiry. Could you please clarify if the custom field is intended for the sign-in or sign-up page?
Hi @Matheus ,

I wanted to follow up on your inquiry regarding customizing the username field and enforcing a validation pattern for the "CNPJ" label. I had previously asked for clarification on whether this is intended for the sign-in or sign-up page, but I haven't received your response yet.

In the meantime, if this customization is intended for both the sign-up and sign-in pages, you can implement a custom sign-up and sign-in page to tailor the authentication experience to your requirements. https://docs.kinde.com/authenticate/custom-configurations/custom-authentication-pages

By creating a custom page, you can modify the username field label and apply a validation pattern that aligns with the CNPJ format. For instance, you might use a regular expression to ensure the input matches the CNPJ structure. https://kinde.com/blog/engineering/how-to-create-a-custom-sign-in-sign-up-form

For detailed guidance on creating a custom sign-in/sign-up form, please refer to Kinde's documentation: https://kinde.com/blog/engineering/how-to-create-a-custom-sign-in-sign-up-form/

If you have any further questions or need additional assistance, please feel free to reach out
Add a reply
Sign up and join the conversation on Discord