Replies: 1 comment
-
Hey Nick, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
I implemented a frontend for kratos where users can sign in and register. On the log in page I show a "Don't have an account? Register here" message which links to the registration page.
Kratos has the option to disable registration which was added here.
I want to use this feature and automatically remove the link to the registration page on my signin page when registration is disabled.
AFAIK, no kratos API endpoint exposes information on whether a flow is enabled or not. So the best idea I got right now is to create a registration flow on every signin page call and check for errors to find out if registration is enabled or not.
Is there a better way to find out if a flow is enabled?
Beta Was this translation helpful? Give feedback.
All reactions