I'm building medi store API that needs to limit create, update and delete endpoints to specific users, while read action is open, public endpoint. Consumers of CUD operations are services and never users as a person that needs UI to register/login.
Should I go with something like this:
JWT authentication for ASP.NET Web API
Or should I listen to Microsoft:
ASP.NET Core Identity adds user interface (UI) login functionality to ASP.NET Core web apps. To secure web APIs and SPAs, use one of the following:
- Azure Active Directory
- Azure Active Directory B2C (Azure AD B2C)
- IdentityServer4
My question: Is the linked solution combined with Net Core Identity(something like this) less secure than using IdentityServer4 with Net Core Identity