aspnet / Identity

[Archived] ASP.NET Core Identity is the membership system for building ASP.NET Core web applications, including membership, login, and user data. Project moved to https://github.com/aspnet/AspNetCore
Apache License 2.0
1.97k stars 871 forks source link

HTTP API for Identity #2014

Closed bugproof closed 5 years ago

bugproof commented 5 years ago

Is there any HTTP API on top of ASP.NET Core identity available? I was looking at https://github.com/aspnet/Identity/issues/1187 but it's too bloated to understand anything. I'm trying to avoid creating my own HTTP API for user management but I guess there's no other choice.

I would like to build my own interface for user management but through web API.

brockallen commented 5 years ago

There are commercial products that offer the API and UI: https://www.identityserver.com/documentation/admin-ui/

ruidfigueiredo commented 5 years ago

I wrote a blog post about how you can use cookies to secure a web api. With that blog post I've also included a sample project in this github repo where you can create a sign in using an Angular application as the client of the web api. The web api uses ASP.NET Identity. It only exposes registration and sign-in but it shouldn't be too hard to expand from that.

blowdart commented 5 years ago

This isn't something we're look at doing given there are other projects out there. It's outside of the scope for identity, which is a simple starting point.