Supporting multiple SAML IdPs within a single Rails application

Posted . Visible to the public.

The linked article Show archive.org snapshot shows how to configure omniauth-multi-provider Show archive.org snapshot to support multiple SAML identity providers for a single Rails app:

To solve this, the omniauth-multi-provider gem acts as a dynamic wrapper around OmniAuth. It enables your application to load the correct IdP configuration at runtime—based on the tenant—allowing for flexible and secure SSO authentication across multiple organisations.

Henning Koch
Last edit
Henning Koch
Keywords
single, sign, on, identity, provider
License
Source code in this card is licensed under the MIT License.
Posted by Henning Koch to makandra dev (2025-05-26 06:36)