ASP.NET Core 集成 IdentityServer4 实现 OAuth 2.0 服务
2016-12-29 15:43
1421 查看
最近的关注点在 ABP 上,期间有很多朋友问了相关的 IdentityServer 集成 OAuth2.0 的一些问题,之前也介绍了很多 OAuth2.0 相关的问题,但是运用到实际的环境中难免会有一些情况没有考虑全 , 这里我打算重新再总结整理一下 。
OpenID 和 OAuth2 有什么区别与使用场景
https://leastprivilege.com/2016/01/17/which-openid-connectoauth-2-o-flow-is-the-right-one/
集成
http://docs.identityserver.io/en/release/quickstarts/8_entity_framework.html https://identityserver4.readthedocs.io/en/release/reference/ef.html http://blog.stoverud.no/posts/identity-server-with-mongodb/ https://github.com/ddrsql/IdentityServer4.Admin https://github.com/alanmacgowan/IdentityServerManager
重写接口
IdentityServer 4 has changed and replaced IUserService with IResourceOwnerPasswordValidator and IProfileService
https://stackoverflow.com/questions/35304038/identityserver4-register-userservice-and-get-users-from-database-in-asp-net-core
证书
http://www.cnblogs.com/skig/p/6079457.html
负载
http://www.cnblogs.com/xishuai/p/identityserver4-slb.html http://www.tugberkugurlu.com/archive/asp-net-core-authentication-in-a-load-balanced-environment-with-haproxy-and-redis
OpenID Connect
https://github.com/jessetalk/aspnet-core-in-practise/blob/master/chapter1.md http://www.cnblogs.com/RainingNight/p/oidc-authentication-in-asp-net-core.html
REFER:
https://media.readthedocs.org/pdf/identityserver4/release/identityserver4.pdf https://github.com/ory/hydra https://github.com/Microsoft/api-guidelines https://github.com/dotnet-architecture/eShopOnContainers
https://github.com/IdentityServer/IdentityServer4
http://docs.identityserver.io/en/release/index.html http://www.cnblogs.com/skig/p/AspNetCoreAuthCode.html
OpenID 和 OAuth2 有什么区别与使用场景
https://leastprivilege.com/2016/01/17/which-openid-connectoauth-2-o-flow-is-the-right-one/
集成
http://docs.identityserver.io/en/release/quickstarts/8_entity_framework.html https://identityserver4.readthedocs.io/en/release/reference/ef.html http://blog.stoverud.no/posts/identity-server-with-mongodb/ https://github.com/ddrsql/IdentityServer4.Admin https://github.com/alanmacgowan/IdentityServerManager
重写接口
IdentityServer 4 has changed and replaced IUserService with IResourceOwnerPasswordValidator and IProfileService
https://stackoverflow.com/questions/35304038/identityserver4-register-userservice-and-get-users-from-database-in-asp-net-core
证书
http://www.cnblogs.com/skig/p/6079457.html
负载
http://www.cnblogs.com/xishuai/p/identityserver4-slb.html http://www.tugberkugurlu.com/archive/asp-net-core-authentication-in-a-load-balanced-environment-with-haproxy-and-redis
OpenID Connect
https://github.com/jessetalk/aspnet-core-in-practise/blob/master/chapter1.md http://www.cnblogs.com/RainingNight/p/oidc-authentication-in-asp-net-core.html
REFER:
https://media.readthedocs.org/pdf/identityserver4/release/identityserver4.pdf https://github.com/ory/hydra https://github.com/Microsoft/api-guidelines https://github.com/dotnet-architecture/eShopOnContainers
https://github.com/IdentityServer/IdentityServer4
http://docs.identityserver.io/en/release/index.html http://www.cnblogs.com/skig/p/AspNetCoreAuthCode.html
相关文章推荐
- Docker & ASP.NET Core 2.0 微服务跨平台实践
- ASP.NET Core 2.0 : 五.服务是如何加载并运行的, Kestrel、配置与环境
- Asp.Net Core 2.0 项目实战(10) 基于cookie登录授权认证并实现前台会员、后台管理员同时登录
- 【ASP.NET Core分布式项目实战】(一)IdentityServer4登录中心、oauth密码模式identity server4实现
- ASP.NET Boilerplate 学习 AspNet Core2 浏览器缓存使用 c#基础,单线程,跨线程访问和线程带参数 wpf 禁用启用webbroswer右键菜单 EF Core 2.0使用MsSql/MySql实现DB First和Code First ASP.NET Core部署到Windows IIS QRCode.js:使用 JavaScript 生成
- ASP.NET Core 2.0 使用支付宝PC网站支付实现代码
- Asp.Net Core 2.0 项目实战(10) 基于cookie登录授权认证并实现前台会员、后台管理员同时登录
- ASP.NET Core 2.0 使用NLog实现日志记录
- asp.net权限认证:OWIN实现OAuth 2.0 之简化模式(Implicit)
- ASP.NET WebAPI 集成 Swagger 启用 OAuth 2.0 配置问题
- ASP.NET Core 2.0使用Cookie认证实现SSO单点登录
- 【ASP.NET Core】依赖注入高级玩法——如何注入多个服务实现类
- ASP.NET Core 2.0利用MassTransit集成RabbitMQ
- ASP.NET Core 2.0 支付宝扫码支付的实现代码
- 简易的开发框架(微服务) Asp.Net Core 2.0
- ADO.NET .net core2.0添加json文件并转化成类注入控制器使用 简单了解 iTextSharp实现HTML to PDF ASP.NET MVC 中 Autofac依赖注入DI 控制反转IOC 了解一下 C# AutoMapper 了解一下
- asp.net core 2.0 webapi集成signalr
- asp.net core 2.0 webapi集成signalr(实例讲解)
- ASP.NET WebApi OWIN 实现 OAuth 2.0
- 把Asp.Net Core 2.0部署在Linux上,使用Nginx代理服务器,并且用Systemctl命令以服务的方式监听项目