Categories
IdP Keycloak Linux SAML Shibboleth SingleSignOn SSO Ubuntu

SAML discovery service

Federated services If you want to provide web bases services in a federated (SAML) environment, you’ll need a way for your users to select their home institution in order to log into the service using their local credentials. That service is called discovery service. What’s that discovery service doing? So what happens if a user […]

Categories
Apache Encryption IdP Keycloak Linux SAML Shibboleth SingleSignOn SSO Webserver

Apache SAML authentication with mod_shib (part 2)

There Multiple SPs on same apache vhost By default the helper scripts mentioned above use some default values like file names and local hostname. So in case you need multiple SPs within a single apache web service, we’ll need to generate key pairs and metadata for each of them and use more specific settings for […]

Categories
Apache Linux SAML Shibboleth SingleSignOn SSO Webserver

Migrate apache2 mod_auth_mellon to mod_shib

I once started protecting web sites using mod_auth_mellon. Back then it seemed much easier to implement it that way, however shibboleth / mod_shib is the default implementation and therefore seems to be the better choice on the long run. For a basic introduction have a look here. Existing mellon config In this example we’ll change […]

Categories
Apache Encryption IdP Keycloak Linux SAML Shibboleth SingleSignOn SSO Webserver

Apache SAML authentication with mod_shib

Till now I was mainly using mod_auth_mellon in order to do SAML-based authentication for web services. I did so because it seemed quite easy to configure (and the Ubuntu mod_shib package had a nasty bug some years ago when I made first contact with SAML). However mod_shib (part of the shibboleth service provider (SP) implenetation) […]

Categories
IdP Keycloak SAML Shibboleth SingleSignOn SSO

Keycloak: Map LDAP groups to SAML roles

If you want to use Keycloak as IdP for your SAML login you might wish to limit access to certain Service Providers (SPs) according to your LDAP group memberships. The way to do this is not very intuitive, so I’ll try to show an easy way to do this. What we’ll be doing: Step 1: […]