Is it possible to have more than one recipe (for example one with Social, the other with Passwordles...
d
Is it possible to have more than one recipe (for example one with Social, the other with Passwordless)? Either dynamically on the same signin page, or two different routes, either way would work I suppose. Or am I getting into custom UI territory?
r
hey!
d
Cool, thanks! Just checking it out now.
Thanks, I actually already have Social + Passwordless set up. What I meant was: I want to have some users only see Social, and some only see Passwordless. I suppose having a separate route would be best, like
/signin
for the regular Social signing, and
/confirm
(or something) for the passwordless signin. So far all the recipes seem to have only a single UI, so maybe it's not possible?
r
so you mean to use passwordless as a second login step?
(for some users)
d
Nope, only passwordless for some "casual" users, if I can call them that. Only Social for "real" users, and only passwordless for the "light" (or whatever) users. I hope that makes sense...
r
hmm. Yea that is possible. How will you identify who is a casual vs real user?
(before they login)
d
It would be part of the business workflow, so identified during the process. A "casual" user could upgrade to a "real" user if they want.
r
i see
so yea.. you can follow the example above, but just don't show the passwordless login button in the thirdpartyemailpassword login
and i think the example already has both those login methods on different paths anyway
d
Oh, ok! I'll check more deeply then. Thanks!
r
happy to help
d
Oh yeah, now I see what you mean! That will work just fine! Cool. 😎
I can see how the UI changes with the existence of the query Param (social when
rid=thirdparty
or rid is undefined, and passwordless when
rid=passwordless
). Is this documented somewhere? Can I rely on this "feature" to remain stable? Also, out of curiosity, are there docs to describe any other query params? Or do I need to dig into the code to figure it out?
r
This should be stable for you to rely on.
There arent any specific docs for query params.
But the other one is the “show” query param which takes a signin / signup value. And shows that form (applicable only to UI in which there is a diff sign in and sign up form)
d
Ok, awesome, thanks!!