Open buzzie-bee opened 5 months ago
Thank you for sharing your idea. If there is a significant demand from customers/community, we will carefully consider implementing the feature. Currently, the issue will be added to our product backlog to collect feedback.
Meanwhile, if you're interested in implementing it yourself, we also welcome pull requests.
Preflight Checklist
Describe your problem
Our user registration flow is best handled within our application, when a user completes a registration we trigger an addHumanUser request to zitadel to create a user. Users can then confirm their email and sign in via zitadel.
One issue we have with this set up is that if an unregistered user hits a protected route, they get redirected to the zitadel sign in page but cannot proceed as they do not yet have an account.
There's an option to enable "User Registration allowed", but this only allows users to register via zitadel which would mean skipping our registration flow.
By disabling this option users are stuck on the zitadel registration screen and don't know that they need to change the url in their browser to our app landing page or registration page.
Ideally we would have a button or link on the page with "Don't have an account yet? Click here to sign up" and redirect them to our sign up flow.
Describe your ideal solution
"As an unregistered user, I want a 'link to external registration url' button, so that if I get redirected to a zitadel sign in page for an app which does not allow user registration in zitadel I can easily navigate to the registration page and create an account."
I was thinking that the "Login Form" customisation page could have:
A "Show external registration link" checkbox An "External registration link" text input which is enabled if the checkbox is selected.
If this checkbox is enabled and the registration link is populated, there would be a 'Register' button which navigates the user to the provided url.
Alternatively if it would be possible to add custom html elements or styling to the sign in pages users would be able to easily set up this feature as well as many others.
Version
v2.50.1
Environment
Self-hosted
Additional Context
Currently to fix this issue we would have to create entirely bespoke sign in pages which is a very large effort, but without it users could be lost because they land on a sign in page and see no way to sign up.