# IdentityServerWithMySQL **Repository Path**: shouyong/IdentityServerWithMySQL ## Basic Information - **Project Name**: IdentityServerWithMySQL - **Description**: IdentityServer4 example 的 MySQL 版本。 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: http://blog.csdn.net/enlangs/article/details/78742957 - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-12-07 - **Last Updated**: 2022-06-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Quickstart #6: IdentityServer and ASP.NET Identity This quickstart uses ASP.NET Identity for identity management. # 原例子 https://github.com/IdentityServer/IdentityServer4.Samples/tree/release/Quickstarts/6_AspNetIdentity # 使用说明 1. 修改 src/IdentityServerWithAspNetIdentity 项目中的 appsetting.json 中的数据库连接信息(MySQLConnection); 2. 先使用``` dotnet ef database update ``` 更新数据库。 3. 运行 src/IdentityServerWithAspNetIdentity 项目; 4. 浏览器中访问 http://localhost:5000/Account/Register 注册个帐号; 5. 运行 src/MvcClient 项目, 6. 浏览器中访问: http://localhost:5002/,点击头部 Secure 输入你在4中注册的账户和密码,登录成功就表示 OK。