Hey! I would like to initiate passwordless email login on login-id page using acul. How can I do that? I don’t see an method for that in here.
Thank you.
Hey! I would like to initiate passwordless email login on login-id page using acul. How can I do that? I don’t see an method for that in here.
Thank you.
Hi @dominikjasek,
I have reached out internally to confirm what is possible with ACUL. I will get back to you as soon as I hear back!
Thanks,
Mary Beth
Hi @dominikjasek,
I have heard back from the team. All you need to do is to configure your tenant to use a Passwordless connection with Universal Login. Once that is done you don’t need to do anything with ACUL other then submit the login method.
Please let me know if you have any additional questions!
Thanks,
Mary Beth
Thanks @marybeth.hunter. I understand I can pass connection=email
and it works as expected.
However, my usecase is a little bit different. I want user himself to decide whether he wants to continue using email passwordless method, or he wants to type password. See following screenshot:
How can I do that dynamically? Is my requirement clear to you?
Thank you
I assume I need to use auth0-js library and it’s passwordlessLogin flow. I did this when I implemented Classic Login.
The question is, how do I get values like redirectUri? In Classic Login, I could get that from the config:
const config = JSON.parse(decodeURIComponent(escape(window.atob('@@config@@'))));
const redirectUri = config.callbackURL
But in Universal Login, I don’t see such an option.
Hi @dominikjasek,
Thanks for your reply!
I’ve reached out to the PM over ACUL again to get confirmation/additional information on this use case.
Thanks,
Mary Beth
Hi,
I have heard back from the PM. Switching between password and passwordless is not currently supported out of the box in Universal Login (UL). We are building a forthcoming feature (flexible connection switching) that will allow you to use ACUL or custom prompts to add a button on the second step to switch between password and passwordless. ACUL does not use auth0.js
—it has its own SDK that provides the context data for use in building the UI.
Having the button on step one, as shown in your screenshot, is not supported in UL, and there are no immediate plans to do so.
Thanks,
Mary Beth
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.