After following the installation instructions, the proxy must be configured with a SAML2 frontend and an OpenID Connect backend.
-
Copy the necessary base configurations from the
<satosa_path>/example
directory:mkdir -p saml2-oidc/plugins cp example/{proxy_conf.yaml.example,internal_attributes.yaml.example} saml2-oidc/ cp example/plugins/frontends/saml2_frontend.yaml.example saml2-oidc/plugins/ cp example/plugins/backends/openid_backend.yaml.example saml2-oidc/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-oidc/plugins/openid_backend.yaml FRONTEND_MODULES: - saml2-oidc/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/openid_backend.yaml.example
toplugins/openid_backend.yaml
mv plugins/saml2_frontend.yaml.example plugins/saml2_frontend.yaml mv plugins/openid_backend.yaml.example plugins/openid_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.