简体   繁体   中英

Authorize requests to ASP.NET Core 2.1 application using ADFS

I have an ADFS server.

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

Now I want to build an ASP.NET Core 2.1 application that will be published as a self contained Linux-x64 application.

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.

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?

Integrated windows auth (IWA / WIA) achieves this.

This is browser functionality.

This only works for domain joined PC.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM