C
C#16mo ago
Metalkon

❔ Passwordless Authentication? (ASP.NET)

What's the simplest way to implement passwordless authentication to an mvc app? I wish to have a simple authentication setup for my app and one that simply sends an email (with url/code) to login with seems to be the easiest of the options that don't hold passwords in my db. (i'm still learning asp.net and don't wanna scaffold the default identity package into my project as it's too much and comes with project creation anyways, struggling to find good tutorials, libraries, frameworks, ect to do this)
7 Replies
Anton
Anton16mo ago
YouTube
ASP.NET Core Authentication and Authorization Tutorials
asp.net core authentication and authorization tutorials. Covering asp.net core cookie authentication and authorization, jwt token authentication and authoriz...
Metalkon
Metalkon16mo ago
It's pretty much all minimal api stuff in that playlist (I have zero experience with api's and still learning auth), not sure if i'd be able to translate it over to mvc projects. :3
Anton
Anton16mo ago
what does it matter authentication is a completely separate system from minimal apis and minimal apis just define endpoints in a simple way
Florian Voß
Florian Voß16mo ago
@Metalkon my question would by why you rather start with minimal api than with mvc? probably cuz you think minimal api is easier, it's not just means the api contains the least possible amount of components, only the necessary ones like routing, parameter binding, serialization. doesnt mean it will be simple or not require good design
Anton
Anton16mo ago
you got what they said backwards I sent them an authentication playlist that uses minimal apis to demo it
Florian Voß
Florian Voß16mo ago
oh right oops xD
Accord
Accord16mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.