A single sign on server implementation powered by IdentityServer4. Uses mongodb for storage and uses Asp.net Identity Core.
Single sign on solutions are pretty much available now a days thanks to auth providers like Auth0. And it is perfectly fine to use them. Same goes for using IdentityServer. Yes, it is indeed jumping a lot of hoops just to get a SSO running but it is worth it. You can essentially have full control on your SSO policies.
NerdCats.Auth uses mongodb as storage thanks to Wes Higbee and his great work on aspnet-identity-mongo.
It is totally Asp.net Identity driven.
Yes
Clients and Scopes are still fetched from in memory collection. Would change soon. We don't have an admin panel to control these yet since this is forked off the samples of IdentityServer4.
A lot. You can see all of them under the IdentityServer.Core project.
Turn straight to IdentityServer4 samples. That is the best place to get yourself started.
You bet!
- Open
NerdCats.Auth\appsettings.json
- Modify the
Database Configuration
like below:
"Database": {
"ConnectionString": "mongodb://<mongodb-connection-string>/<your-database-name>",
"DatabaseName": "<your-database-name>"
}
- run
dotnet restore
- run
dotnet run
Please use same DatabaseName
in both of the properties, its a known development wart for now. We'd fix it with time of course.