C
C#15mo ago
Philémon

❔ Which auth provider for ASP.API + Angular?

Hello 👋 I would like to set up an authentication and authorization system for my personal project, which uses an ASP.API and an Angular client. I'm a junior, and I've always cobbled together an auth system. I'd like to do something credible this time (but free). But I'm a bit desperate because I can't find a recent tutorial for my stack. I've heard of OAuth2 with OpenId Connect, Duende Identity Server as an authentication provider and PKCE protocol but the tutorial I found uses ASP MVC and not Angular 😢 and the man who made the tutorial says that securing ASP.MVC and Angular apps are two really different things... My question is: what credible auth could I start with ASP.API + Angular? And would you have a tutorial to recommend? Thank you for reading my message. And sorry if I give the impression of not doing any research myself. The reality is that I've been struggling to get back into coding for several weeks now, and it seems like a very hard task at the moment.
5 Replies
JakenVeina
JakenVeina15mo ago
what do you actually need out of this auth system? also, what is ASP.API?
Philémon
PhilémonOP15mo ago
It is the API that uses ASP .NET , so mostly it is a C# .net API with controllers, the common one i guess I would like users to be able to create an account with their email address and password securely. Later I'd also like them to be able to log in with their Google or Microsoft account, for example.
JakenVeina
JakenVeina15mo ago
that can mean like 3 different things, you'll need to be specific IdentityServer or something equivalent is what you want. A separate service that handles aggregation of login providers otherwise, you'll have to implement it all yourself within the project
Philémon
PhilémonOP15mo ago
ok thank you
Accord
Accord15mo 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.
Want results from more Discord servers?
Add your server