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

Added sign-in-sign-up-passwordless custom policy #328

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rbrayb
Copy link

@rbrayb rbrayb commented Dec 9, 2021

This allows sign in and sign up passwordless custom policies.

As B2C requires a password to create a user, a random password is created by the custom policy.

This allows sign in and sign up passwordless custom policies.
@JasSuri
Copy link
Contributor

JasSuri commented Dec 23, 2021

Is this different from samples/policies/passwordless-email?

@rbrayb
Copy link
Author

rbrayb commented Dec 23, 2021

Yes, I believe so.

The key here is that the sign-up automatically creates a random password.

The sign-up screen does not ask the user to enter a password since that makes no sense in a passwordless flow.

The user is not aware that a password has been created for them.

I couldn't find any examples of a signup flow doing this hence the submission.

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