Hello, I have a case that i need to apply passwordless authentication for my project. I use seperated auth server with openiddict. What i want to do is,
- get an email address from the user
- check if that email address is in my database. (this is an email not stored in AbpUsers table)
- if so create a code and send that code to user's email address.
- Show a textbox for verification
- if the user input is the same with the code sent, sign in the user.
- Apply refreshtoken when the login is expired.
Is there any code sample so i can take a look or any resources that i can use? I was thinking to extend the Login page from Volo.Abp.Account.Pro.Public.Web. Is sth else needed like Extending authorize method of OpenIdDict module? Also how should i think about refreshtoken in this case?
I have blazor web assembly front end and .net maui app that will use this kind of auth.
Thanks in advance.
1 Answer(s)
-
0
hi
There is an article and code.
https://community.abp.io/posts/implementing-passwordless-authentication-with-asp.net-core-identity-c25l8koj https://github.com/abpframework/abp-samples/tree/master/PasswordlessAuthentication