Disable ADFS Authentication for Areas

273 Views Asked by At

We have an MVC application which uses ADFS as its authentication method. All is working as should. We are now beginning to add in 'areas' into the application to separate certain parts out. One of these areas needs to allow complete anonymous access. Is there a way to disable ADFS for a particular area within an MVC application?

We have tried overriding the webconfig within the area, however, no such luck.

1

There are 1 best solutions below

0
Morten Ulrik Pedersen On

Have you tried using the [AllowAnonymous] attribute on controller methods in that area?