- The service provider sends a request to the proxy instance. The service provider only knows about the proxy and none of the actual identity providers.
- The proxy redirects the user to the discovery service
- The entity ID of the identity provider selected by the user is returned to the proxy
- The proxy sent authentication request and when completed the the user get redirected back to the proxy
- The response returned from the Identity provider is returned to the Service provider
- Service provider sends request to proxy
- Proxy communicates with the identity provider which normally can't talk to the service provider. A reason for this could be that it can't handle multiple entity ID's or that they are not really compatible.
- Response returned by the identity provider containing the user information.
- proxy returns the response to the service provider
After following the installation instructions, the proxy must be configured with a SAML2 frontend and an SAML2 backend.
-
Copy the necessary base configurations from the
<satosa_path>/example
directory:mkdir -p saml2-saml2/plugins cp example/{proxy_conf.yaml.example,internal_attributes.yaml.example} saml2-saml2/ cp example/plugins/frontends/saml2_frontend.yaml.example saml2-saml2/plugins/ cp example/plugins/backends/saml2_backend.yaml.example saml2-saml2/plugins/
-
Configure the proxy:
-
Rename
proxy_conf.yaml.example
toproxy_conf.yaml
:mv proxy_conf.yaml.example proxy_conf.yaml
-
Edit the necessary proxy configuration parameters, see the SATOSA proxy configuration section of the proxy configuration instructions for more information. To specify the necessary plugins make sure to include the following configuration parameter values:
BACKEND_MODULES: - saml2-saml2/plugins/saml2_backend.yaml FRONTEND_MODULES: - saml2-saml2/plugins/saml2_frontend.yaml
-
Configure the attribute mapping:
-
Rename
internal_attributes.yaml.example
tointernal_attributes.yaml
:mv internal_attributes.yaml.example internal_attributes.yaml
-
Map the necessary attributes, see the Attribute mapping configuration section of the proxy configuration instructions for more information.
-
Configure the plugins
-
Rename
plugins/saml2_frontend.yaml.example
toplugins/saml2_frontend.yaml
andplugins/saml2_backend.yaml.example
toplugins/saml2_backend.yaml
mv plugins/saml2_frontend.yaml.example plugins/saml2_frontend.yaml mv plugins/saml2_backend.yaml.example plugins/saml2_backend.yaml
-
Specify the necessary configuration parameters, see the Plugins section of the proxy configuration instructions for more information.
-
Generate the SAML metadata, see the SAML metadata section of the proxy configuration instructions for more information.
- Start the proxy application, see the Running the proxy application section of the proxy configuration instructions for more information.