GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - anjoy8/Blog.IdentityServer: 🥗 打造一个功能强大的通用型Ids4用户认证授权服务中心,配合之前的所有开源项目

BranchesTags
Open more actions menu

Latest commit

 

History

153 Commits
153 Commits

Folders and files

NameName
Last commit message
Last commit date
Blog.IdentityServer
Blog.IdentityServer
 
 
.dockerignore
.dockerignore
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
Blog.IdentityServer.Publish.Docker.sh
Blog.IdentityServer.Publish.Docker.sh
 
 
Blog.IdentityServer.Publish.Linux.sh
Blog.IdentityServer.Publish.Linux.sh
 
 
Blog.IdentityServer.sln
Blog.IdentityServer.sln
 
 
Build.bat
Build.bat
 
 
Dockerfile
Dockerfile
 
 
README.md
README.md
 
 

Repository files navigation

Logo

   

Info

1、项目支持SqlServer和Mysql,默认Mysql,在配置文件中可以设置:"IsMysql": true,
2、如果用mysql,直接执行update-database即可,迁移文件在data下的MigrationsMySql文件夹;
3、如果不想用自带的迁移文件,先删掉data下的MigrationsMySql文件夹,然后执行(具体步骤在SeedData.cs中);

给个星星! ⭐️

如果你喜欢这个项目或者它帮助你, 请给 Star~(辛苦星咯)


售后服务与支持

鼓励作者,简单打赏,入微信群,随时随地解答我框架中(NetCore、Vue、DDD、IdentityServer4等)的疑难杂症。
注意主要是帮忙解决bug和思路,不会远程授课,但是可以适当发我代码,我帮忙调试,
打赏的时候,备注自己的微信号,我拉你进群,两天内没回应,QQ私聊我(3143422472);

赞赏列表

赞赏码

[图片若加载不出来,点这里](http://apk.neters.club/laozhangisphigood.jpg)
  • 前端Blog.Admin-后端Blog.Core-认证中心(本项目) 快速启动

Tips:

 /*
  * 本项目同时支持Mysql和Sqlserver,我一直使用的是Mysql,所以Mysql的迁移文件已经配置好,在Data文件夹下,
  * 直接执行update-database xxxx,那三步即可。如果你使用sqlserver,可以先从迁移开始,下边有步骤
  * 
  * 当然你也可以把Data文件夹除了ApplicationDbContext.cs文件外都删掉,自己重新做迁移。
  * 迁移完成后,执行dotnet run /seed
  *  1、PM> add-migration InitialIdentityServerPersistedGrantDbMigrationMysql -c PersistedGrantDbContext -o Data/MigrationsMySql/IdentityServer/PersistedGrantDb 
     Build started...
     Build succeeded.
     To undo this action, use Remove-Migration.
     2、PM> update-database -c PersistedGrantDbContext
     Build started...
     Build succeeded.
     Applying migration '20200509165052_InitialIdentityServerPersistedGrantDbMigrationMysql'.
     Done.
     3、PM> add-migration InitialIdentityServerConfigurationDbMigrationMysql -c ConfigurationDbContext -o Data/MigrationsMySql/IdentityServer/ConfigurationDb
     Build started...
     Build succeeded.
     To undo this action, use Remove-Migration.
     4、PM> update-database -c ConfigurationDbContext
     Build started...
     Build succeeded.
     Applying migration '20200509165153_InitialIdentityServerConfigurationDbMigrationMysql'.
     Done.
     5、PM> add-migration AppDbMigration -c ApplicationDbContext -o Data/MigrationsMySql
     Build started...
     Build succeeded.
     To undo this action, use Remove-Migration.
     6、PM> update-database -c ApplicationDbContext
     Build started...
     Build succeeded.
     Applying migration '20200509165505_AppDbMigration'.
     Done.
  * 
  */




跟踪教程

博客园:https://www.cnblogs.com/laozhang-is-phi/
视频:https://www.bilibili.com/video/av76828468

  • 01 ║ 授权服务器 IdentityServer4 开篇讲&计划书
  • 02 ║ 基础知识集合 & 项目搭建一
  • 03 ║ 详解授权持久化 & 用户数据迁移
  • 04 ║ 用户数据管理 & 前后端授权联调
  • 05 ║ 多项目集成统一认证中心的思考
  • 06 ║ 统一角色管理(上) 
  • 07 ║ 客户端、服务端、授权中心全线打通 

微信公众号:https://mvp.neters.club/MVP_ids4_2020/2020

  • 【Ids4实战】分模块保护资源API
  • 【Ids4实战】最全的 v4 版本升级指南
  • 【Ids4实战】深究配置——用户信息操作篇
  • 【实战 Ids4】║ 认证中心之内部加权
  • 【实战 Ids4】║ 控制台密码模式搭配Ocelot网关
  • 【实战 Ids4】║ 在Swagger中调试认证授权中心 
  • 【实战 Ids4】║ 又一个项目迁移完成(MVC) 

技术:

  * .Net Core 3.1 MVC
  
  * EntityFramework Core
  
  * SqlServer/Mysql

  * IdentityServer4

  * Authentication and Authorization

  * OAuth2 and OpenId Connect

  * GrantTypes.Implicit

  * oidc-client

About

🥗 打造一个功能强大的通用型Ids4用户认证授权服务中心,配合之前的所有开源项目

ids.neters.club/

Topics

asp-net-coreefcoreidentityserver4netcore

Resources

Readme
Activity

Stars

481 stars

Watchers

18 watching

Forks

144 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.