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

85 Views Asked by At

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

1

There are 1 best solutions below

0
Jerker Pihl On BEST ANSWER

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