C
C#2y ago
Becquerel

❔ What forms of auth are most common for ASP.NET Core?

Both authentication and authorization. I know it's a big topic so I want to start off learning the styles I'm most likely to see in production. Does it depend on the type of project you're doing (MVC, Blazor, APIs)?
3 Replies
Angius
Angius2y ago
I'd say the decision tree is as follows:
SSR or API?
|— ssr —> Cookie-based
\— api —> Who will consume it?
|— just my frontend —> Cookie-based
|— many users —> OAuth
SSR or API?
|— ssr —> Cookie-based
\— api —> Who will consume it?
|— just my frontend —> Cookie-based
|— many users —> OAuth
Becquerel
Becquerel2y ago
think see thank you
Accord
Accord2y ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.