Skip to content

Setting up a Criteria for self-service registration #1724

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
xxsuperdreamxx opened this issue Sep 3, 2021 · 3 comments · Fixed by #1585
Closed

Setting up a Criteria for self-service registration #1724

xxsuperdreamxx opened this issue Sep 3, 2021 · 3 comments · Fixed by #1585
Milestone

Comments

@xxsuperdreamxx
Copy link

The feature is meant to set custom criteria for the registration form, for example setting up a dob (date of birth) field, to prevent underage users to register to the product, because of the "COPPA".

I have considered just putting in the schema field type "number" with the name age and set the minimum, but it would also be nice to be able to apply cookie, but also instead of using the number filed to use the date

If someone has a good suggestion or solution, I would be happy to hear it out. Because the easiest thing now I am thinking about is to do the limitation in the front end, but I don't think that is enough

@aeneasr
Copy link
Member

aeneasr commented Sep 4, 2021

Thank you for contributing to this repository by creating an issue!

Unfortunately, your issue lacks vital information, such as log files, the error message, the software version, your configuration or other pieces of the puzzle.

Please also ensure that your issue is appropriately formatted. If you do not know how to write markdown, you can find help here.

Helping you with your problem is only possible if you share this information, and it will save a lot of time of back and forth on your as well as our end!

For this reason, this repository uses issue templates which you can select when pressing "New issue". Please use one of those issue templates to fill in the required information. You can either create a new issue for this purpose and close this one, or leave a comment.

If you have used an issue template and see this comment, it means that your description lacks information that allows maintainers to understand what problem you are facing and how to reproduce it.

Do not edit the original post as we will not be notified when you do so.

If you do not provide the requested information, this issue will be closed. Thank you for your understanding!


In particular: example payloads, what you have tried so far, why webhooks are not an option for you, …

@harnash
Copy link
Contributor

harnash commented Sep 8, 2021

@xxsuperdreamxx It may be an overkill in some cases and perhaps an easier solution can be ironed out but #1585 gives the possibility to implement checks in via the hooks and propagate validation errors to the frontend. It is still not ideal and I'm looking for a time to wrap it all up but this is essentially what we are doing right now since our checks are quite complex.

@xxsuperdreamxx
Copy link
Author

xxsuperdreamxx commented Sep 8, 2021 via email

@aeneasr aeneasr added this to the v0.10.0-alpha.1 milestone Mar 7, 2022
@aeneasr aeneasr modified the milestones: v0.10.0-alpha.1, v1.0.0 May 30, 2022
aeneasr pushed a commit that referenced this issue Jul 22, 2022
feat: implement blocking webhooks (#1585)

This feature allows webhooks to return validation errors in the registration and login flow from a webhook. This feature enables you to deny sign-ups from a specific domain, for example.

A big thank you goes out to the team at Wikia / Fandom for implementing and contributing to this feature!

Closes #1724
Closes #1483
peturgeorgievv pushed a commit to senteca/kratos-fork that referenced this issue Jun 30, 2023
feat: implement blocking webhooks (ory#1585)

This feature allows webhooks to return validation errors in the registration and login flow from a webhook. This feature enables you to deny sign-ups from a specific domain, for example.

A big thank you goes out to the team at Wikia / Fandom for implementing and contributing to this feature!

Closes ory#1724
Closes ory#1483
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants