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

Set configuredFor if the user has an email #37

Merged

Conversation

remyduthu
Copy link
Contributor

The goal of this PR is to implement the configuredFor method.
It returns true if the user has an email. Otherwise, it returns false.
This is to prevent using the Email OTP when the user has no email.

@remyduthu
Copy link
Contributor Author

The idea would be to configure a multi-factor flow as mentioned here: https://github.com/keycloak/keycloak-community/blob/main/design/multi-factor-admin-and-step-up.md#flow-logic-examples. For example:

Screenshot 2024-05-06 at 23 29 59

@mesutpiskin mesutpiskin merged commit 13d5fb8 into mesutpiskin:main May 13, 2024
1 check failed
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 this pull request may close these issues.

2 participants