Search code examples
c#asp.net-mvcglobal-asax.net-4.7.2sustainsys-saml2

Is it possible to load Saml2AuthenticationModule inside global.asax instead of web.config


Is it possible to load sustainsys Sustainsys.Saml2.HttpModule.Saml2AuthenticationModule inside global.asax instead of web.config? Have anybody succeeded?


Solution

  • I solved this by creating a new class with the attribute PreApplicationStartMethod and make use of HttpApplication.RegisterModule. This solved all this problem. Its now possible to have a education version of the software Iam developing with formsauth instead of saml