This project has moved. For the latest updates, please go here.

Access IAppBuilder after OwinStartup

Mar 10, 2015 at 4:30 AM
I'm trying to add a new WsFederationAuthenticationOptions or OpenIdConnectAuthenticationOptions like:

app.UseOpenIdConnectAuthentication(new OpenIdConnectAuthenticationOptions {....});

At the moment I have this in the Configuration(IAppBuilder app) of the OwinStartup. How do I do the same outside the startup to allow users to register a new STS while the app is running?

I have more detail over in StackOverflow Add Owin Pipeline Middleware after OwinStartup for new Tenant