Create Company during Register

Hello, is it possible to add a field on the register form to create a company?
10 Replies
jacquesy
jacquesy7mo ago
Kinde Docs
Allow organization creation on sign up - Build on Kinde - Help center
Our developer tools provide everything you need to get started with Kinde.
António Duarte
António Duarte7mo ago
No, it was a field on the registration form, but i already find out that is not possible. But thanks
Oli - Kinde
Oli - Kinde7mo ago
Hi @António Duarte, the customise fields on Kinde hosted register forms is on on our roadmap. You can be notified when this feature is live by subscribing here. In the meantime, you can create your own register form (with a "field on the register form to create a company") and then call the Kinde Management API to either: - Create User - Create Organization Would this solve your use-case in the meantime?
António Duarte
António Duarte7mo ago
I think so, i will test it. How can i handle the auth on subdomain, for multi tenat? like: <org-slug>.localhost i tryed it using NextJS, but the callback redirects to the main domain, localhost
Oli - Kinde
Oli - Kinde7mo ago
Hi @António Duarte, I think the following guide will help you: https://kinde.com/docs/connect-to-kinde/subdomains-for-callbacks/#manage-subdomains-for-callback-urls Let me know if you have any questions.
Kinde Docs
Manage subdomains for callback URLs - Connect to Kinde - Help center
Our developer tools provide everything you need to get started with Kinde.
António Duarte
António Duarte7mo ago
Hello @Oli - Kinde, i already did that. But the issue continues
Oli - Kinde
Oli - Kinde7mo ago
Hey @António Duarte, Would be willing to send a screenshot or recording of the issue? Feel free to DM me
António Duarte
António Duarte7mo ago
Hello, sorry didn't understand, what is the screenshot of?
Oli - Kinde
Oli - Kinde7mo ago
Hi @António Duarte, If possible, you would be able to send a recording/screenshot of what you see on your screen when you experience the following issue?
i tryed it using NextJS, but the callback redirects to the main domain, localhost
Hey @António Duarte, Actually I think you may be experiencing an issue because you are using .localhost as the top-level domain. Let me get back to you on this Hey @António Duarte, We are still looking into your issue. I'll get back to you once I have more information.
Oli - Kinde
Oli - Kinde7mo ago
Hey @António Duarte, We have released a new beta version of the NextJS SDK You can access the beta version at @kinde-oss/kinde-auth-nextjs@2.1.0-beta.0 Now in the .env file they can set KINDE_COOKIE_DOMAIN=yourdomain.com to have the cookies be applied to all subdomains So the cookies should persist over app.yourdomain.com, test.yourdomain.com (basically *.yourdomain.com) This is a beta release, so please give us any feedback on this release. Also, I'm assuming you have some shared cookies involved. If you're using a secure cookie, then you would need certificates. Using a custom domain would also need certificates (as only localhost can be called back to without one). If your custom domain is a real domain they own, you can use https://letsencrypt.org/ to get free certificates. If your domain is local only, then you can generate a “self signed certificate”. Please reach out if you have any questions, and once again thanks for your patience.
Let's Encrypt
Let's Encrypt is a free, automated, and open certificate authority brought to you by the nonprofit Internet Security Research Group (ISRG). Read all about our nonprofit work this year in our 2023 Annual Report.
Want results from more Discord servers?
Add your server
More Posts