SSO using Identity Server with SAML 2 with other Identity Providers

我是研究僧i 提交于 2019-12-06 08:55:40

问题


I implemented authentication and authorization using Identity server 4 with OIDC to allow clients accessing our application to get the necessary tokens to access our resource server (web APIs). This is the current architecture :

  • Identity Server 4 using my custom DB to authenticate users
  • Resource APIs (ASP.NET Core)
  • Angular 2 front end

I need to implement SSO, where users from other systems will pass SAML2 assertions from their identity providers to allow them to access our resource APIs without logging in to our application.

I have some confusion about where this step will happen, and what will be the workflow, will our identity server be involved in this process and how to implement that using Identity Server 4.


回答1:


Right now there is no SAML2 support for ASP.NET Core.

If you are using IdentityServer3, you can act as a SAML2 SP via the Kentor authentication middleware. This is not available for ASP.NET Core yet.

Generally speaking - you cannot use SAML2 to secure APIs - it is a protocol for web based SSO - not API access.



来源:https://stackoverflow.com/questions/40180385/sso-using-identity-server-with-saml-2-with-other-identity-providers

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!