Update OpenId/SAML2 (WsFederation) after startup

89 Views Asked by At

We have an asp.net core website that configures a bunch of database setups for SSO that are OpenId and Saml2 endpoints. These change or are added in a UI for Administrators as necessary.

Right now we have to recycle the app pool to update these because they're created and updated in the Startup.cs from the database.

I'm trying to find a way to be able to do CRUD on these at runtime but I can't find any documentation on how to get the AuthenticationBuilder and even if I could get it with injection, I can't find anything that would allow me to remove or edit existing ones, only add.

Anyone know how to get at this information ad update these dynamically at runtime?

0

There are 0 best solutions below