IdentityServer4-快速入门


一、设置和概述

二、使用客户端凭证保护API

三、使用密码保护API

四、使用OpenID Connect添加用户验证

五、添加对外部认证的支持

六、切换到Hybrid Flow并添加API访问权限

七、Using ASP.NET Core Identity

八、添加一个JavaScript客户端

九、使用EntityFramework core进行配置和操作数据

十、社区快速入门&样品

一、设置和概述https://pan.baidu.com/s/1xYxymmnn6giMUphnnCGaaQ

三、使用密码保护APIhttps://pan.baidu.com/s/1q-UYw_34hX00MqxiZp524g

四、使用OpenID Connect添加用户验证https://pan.baidu.com/s/1XHL4eRzp3oqIK3ubMF-NLQ

五、添加对外部认证的支持https://pan.baidu.com/s/1ZxVHNYApxyZMGcDg-XlTkg 

八、添加一个JavaScript客户端https://pan.baidu.com/s/1wFDdwjmjWIhvMIPIoZQwBw

九、使用EntityFramework核心进行配置和操作数据https://pan.baidu.com/s/1zVRXIEB9VMbbbCBf3kokTA

十、社区快速入门&样品https://github.com/leastprivilege/AspNetCoreSecuritySamples

IdentityServer4 EF 和 ASP.NET Identity

这个样本结合了EF和ASP.NET身份快速入门(#6和#8)。

共同托管IdentityServer4和一个Web API

此示例显示如何在保护API的IdentityServer所在的主机上托管API。

https://github.com/brockallen/IdentityServerAndApi

用于MongoDB的IdentityServer4案例

  • IdentityServer4-mongo:与快速入门#8 EntityFramework配置类似,但使用MongoDB作为配置数据。 
  • IdentityServer4-mongo-AspIdentity:更详细的示例基于使用ASP.NET身份进行身份管理,该身份管理使用MongoDB作为配置数据

https://github.com/souzartn/IdentityServer4.Samples.Mongo

从Facebook,Google和Twitter交换外部令牌

演示如何使用扩展授权将外部身份验证令牌交换到身份服务器访问令牌

https://github.com/waqaskhan540/IdentityServerExternalAuth

IdentityServer4快速入门UI的ASP.NET Core MVC RazorPages模板

Razor Pages based QuickStart sample by Martin Fletcher.

.NET core和ASP.NET core“平台”方案

显示受信任的“内部”应用程序与“外部”应用程序与.NET Core 2.0和ASP.NET Core 2.0应用程序的交互

https://github.com/BenjaminAbt/Samples.AspNetCore-IdentityServer4

使用JWKS使用来自IdentityServer4的令牌保护Node API

  • 演示如何使用IdentityServer4的JWKS端点和RS256算法来保护Node(Express)API。
  • 使用更高质量的生产准备模块为IdentityServer4.Samples中的NodeJsApi样本提供备选方案。

https://github.com/lyphtec/idsvr4-node-jwks