SSO Server Identity
Criteria
Create a Single sign on authentication server, support development many applications with only once sign on
Sources
Development environment
- Visual Studio Code
- IdentityServer4
- MySQL
Setup
To run the demo
1. Clone/Fork this repository https://github.com/duycs/sso-server
2. Create the database on MySQL server by using the dotnet cli to run the migrations from within the command
Create EFMigrateHistory table at each database
CREATE TABLE `__EFMigrationsHistory` ( `MigrationId` nvarchar(150) NOT NULL,
`ProductVersion` nvarchar(32) NOT NULL,
PRIMARY KEY (`MigrationId`) );
Migrate database
dotnet ef database update --context AppIdentityDbContext
dotnet ef database update --context PersistedGrantDbContext
TODO
- Fix bugs
References
- https://en.wikipedia.org/wiki/Single_sign-on
- https://github.com/mmacneil/AngularASPNETCoreOAuth
- https://github.com/echuck66/ASPNETMVCCoreTest