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

Login with either Phone/Otp or Username/Password in Direct Grant #46

Closed
vatsalumrigar opened this issue Apr 6, 2023 · 4 comments
Closed
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@vatsalumrigar
Copy link

My need in to Login user with either Direct grant with phone or direct grant with Username and password validation, i tried using both subflows in a new flow and using both flows as Alternative of each other but i can only login through one method which is first in the flow , i need a custom condition in which if user is giving phonenumber as a credtential he can use direct grant with phone flow else if a user provides username then username and password validation flow should execute.

@cooperlyt cooperlyt added the enhancement New feature or request label Apr 6, 2023
@cooperlyt
Copy link
Owner

I will add a conditional on 2.3.3,
Before 2.3.3 you can use two different clients and set different flows.

@cooperlyt cooperlyt added the good first issue Good for newcomers label Apr 6, 2023
@cooperlyt
Copy link
Owner

cooperlyt commented Apr 6, 2023

2.3.3 is release
the flow setting:
Setting

the first condition in username verify set Negate output to true!
the last condition in phone verify set Negate output to false!

@vatsalumrigar
Copy link
Author

Okay thank you , will check for the same

@vatsalumrigar
Copy link
Author

Okay thank you , will check for the same

Its working , thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants