i am developing some side project and my query is can i use identity framework for authentication and authorization in asp.net core rest api or ant other way if you suggest
Is it good way to use authentication authorization using identity f
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


Lokesh VarmanRank #374 · 6.8K reputationPosted Jul 23, 2023, 9:01 AM EDT
With ASP.NET Core Identity, you can easily implement user registration, login, and user management features for your REST API. It provides features like user and role management, password hashing, two-factor authentication, and more. You can also customize it to suit your specific requirements.
There are other ways to handle authentication and authorization in ASP.NET Core, such as using OAuth or third-party authentication providers like Google or Facebook. However, ASP.NET Core Identity is a popular and well-supported choice that will serve most use cases effectively.