[英]Authorize requests to ASP.NET Core 2.1 application using ADFS
I have an ADFS server.我有一个 ADFS 服务器。
I added a Relying Party Trust based on this documentation: https://docs.microsoft.com/en-us/aspnet/core/security/authentication/ws-federation?view=aspnetcore-2.1我根据此文档添加了信赖方信任: https://docs.microsoft.com/en-us/aspnet/core/security/authentication/ws-federation?view=aspnetcore-2.1
Now I want to build an ASP.NET Core 2.1 application that will be published as a self contained Linux-x64 application.现在我想构建一个 ASP.NET Core 2.1 应用程序,它将作为一个独立的 Linux-x64 应用程序发布。
The application is intended to be a single page JS and React application which will be viewed by users connected to the domain configured on the ADFS server mentioned above.该应用程序旨在成为单页 JS 和 React 应用程序,连接到上述 ADFS 服务器上配置的域的用户将查看该应用程序。
I want that users connected to that domain to be automatically authorized to display the main page and all users from outside the domain to have to authenticate themselves before they can access the page.我希望自动授权连接到该域的用户显示主页,并且域外的所有用户都必须先进行身份验证,然后才能访问该页面。
How do I configure the ASP.NET Core application in order to achieve that goal?如何配置 ASP.NET 核心应用程序以实现该目标?
Integrated windows auth (IWA / WIA) achieves this. 集成的 windows auth (IWA / WIA) 实现了这一点。
This is browser functionality.这是浏览器功能。
This only works for domain joined PC.这仅适用于加入域的 PC。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.