Same as above only without the IdentityServer but using only Identity. Will only be running on the same server as the main server.
Only IdentityServer
Implement the tables for the users/roles/etc on our own instead of letting ASP.Identity deal with that. Manage the users on our own. Use IdentityServer for SSO and OAuth2/OpenID
Note that you don’t have to use the default system with Identity ASP.NET Core. It exposes a set of interfaces so you can write your own connections to the DB and stuff. So if you wanted to use a Mongo DB with BCrypt for password hashing, you could. See my project here for a rough example (in F#). Check the Identity folder, the Startup.cs file, and the Controllers/AuthenticationController.cs file. Note that I’m also NOT a security expert, so this may well have some flaws in the specific implementation–this isn’t running in production anywhere, though, so…
Cool. I didn’t realize there was an Identity library for Mongo! I do recommend sticking with the default implementation. I do like using the Identity system, though, since it ties in so well with the rest of the ASP.NET stuff.
Core Identity sounds like what we need. We should be managing our own user database rather than relying solely on external auth (i.e. Google, Facebook etc); that said, we should also not be writing the code to do it. I don’t doubt we have people here with the knowledge to do it, but in matters of security we should use the tried and tested.
Since there aren’t many opinions and we are all in a general agreement we should use IdentityServer/Identity.NET- please close, I’ll make an issue.