Skip to content
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

Hook require_verified_address: option to require all of the addresses to be verified #4117

Open
3 of 5 tasks
renom opened this issue Sep 23, 2024 · 0 comments
Open
3 of 5 tasks
Labels
feat New feature or request.

Comments

@renom
Copy link

renom commented Sep 23, 2024

Preflight checklist

Ory Network Project

No response

Describe your problem

At the moment require_verified_address requires at least one of the addresses to be verified:
https://github.com/ory/kratos/blob/master/selfservice/hook/address_verifier.go#L39-L49
E.g. it's impossible to require both phone and email to be verified (for example).

Describe your ideal solution

Add an option to hook config to require all of the addresses to be verified.

Workarounds or alternatives

Version

1.2.0

Additional Context

No response

@renom renom added the feat New feature or request. label Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request.
Projects
None yet
Development

No branches or pull requests

1 participant