Confirmation
I'm a bit confused with confirmation, following https://hexdocs.pm/ash_authentication/AshAuthentication.AddOn.Confirmation.html
I have
and regarding strategies I have google and magic link.
Can somebody explain a bit more?
My use case is if I want to allow user to build an order and get to it, I want to prevent ordering until registration is complete and the account is confirmed, i.e. user should enter his email, click register, go to it's email and preferably redirect to the order.
So I'd want on register create the user, append the order to the user and send user confirmation email.
Also a question, if somebody logins/registers for the first time through magic link I assume confirmed at should be set also right? I wasn't able to achive this. I also had invalid CSRF when I was trying something with this confirmation 😑
is there any repo that has this configured well? maybe I could learn by such an example 🐛
0 Replies