owin

OWIN challenge not triggered when using web.config authorization elements

折月煮酒 提交于 2020-12-06 06:25:47
问题 I'm migrating a Web Forms application from Forms Authentication to OpenID Connect (using OWIN and IdentityServer3). The application already has a lot of 'authorization' elements (for various locations) in the web.config which I would like to reuse after migrating to OWIN. <authorization> <deny users="?" /> </authorization> <location path="Path/Page.aspx"> <system.web> <authorization> <allow users="*" /> </authorization> </system.web> </location> ... The problem is that after I switch to OWIN