ComponentSpace

Forums



How to "post configure" SAML SSO identity providers after ASP.NET Core app startup


How to "post configure" SAML SSO identity providers after ASP.NET Core...

Author
Message
jtoth55
jtoth55
New Member
New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)

Group: Forum Members
Posts: 3, Visits: 27
I want to be able to add or edit the configs of our SAML SSO identity providers *after* the ASP.NET Core app starts up. ASP.NET Core provides the ability to do this for OAuth2 and OIDC identity providers via their "PostConfigure" classes, see this code for an example: https://gist.github.com/justintoth/4f5cc4238d7a942369aef12209769004

I'm wondering how I achieve the same for our SAML SSO identity providers?
ComponentSpace
ComponentSpace
ComponentSpace Development
ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)

Group: Administrators
Posts: 3.2K, Visits: 11K
We support dynamic SAML configuration through the ISamlConfigurationResolver interface.

We call into this interface whenever configuration is required for SSO or SLO which means we should always have the latest configuration. Typically, the SAML configuration is stored in a database and the ISamlConfigurationResolver reads from this database. However, you may implement this interface however you wish.

The ExampleIdentityProvider and ExampleServiceProvider projects under the Examples\SSO folder include example implementations using hard-coded configuration.

The Configuration Guide in the documentation folder has more information.

Regards
ComponentSpace Development
jtoth55
jtoth55
New Member
New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)

Group: Forum Members
Posts: 3, Visits: 27
ComponentSpace - 1/13/2022
We support dynamic SAML configuration through the ISamlConfigurationResolver interface.

We call into this interface whenever configuration is required for SSO or SLO which means we should always have the latest configuration. Typically, the SAML configuration is stored in a database and the ISamlConfigurationResolver reads from this database. However, you may implement this interface however you wish.

The ExampleIdentityProvider and ExampleServiceProvider projects under the Examples\SSO folder include example implementations using hard-coded configuration.

The Configuration Guide in the documentation folder has more information.

That worked great, thanks!
ComponentSpace
ComponentSpace
ComponentSpace Development
ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)

Group: Administrators
Posts: 3.2K, Visits: 11K
You're welcome!

Regards
ComponentSpace Development
GO


Similar Topics


Execution: 0.000. 2 queries. Compression Enabled.
Login
Existing Account
Email Address:


Password:


Select a Forum....












Forums, Documentation & Knowledge Base - ComponentSpace


Search