Skip to content

Commit 79bb081

Browse files
author
Rebecka Gulliksson
committed
Update documentation for SAML2<->Social use case.
1 parent f2a3d40 commit 79bb081

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

doc/SAML2-to-Social_logins.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ be configured with a SAML2 frontend and an SAML2 backend.
2020
mkdir -p saml2-social/plugins
2121
cp example/{proxy_conf.yaml.example,internal_attributes.yaml.example} saml2-social/
2222
cp example/plugins/frontends/saml2_frontend.yaml.example saml2-social/plugins/
23-
cp example/plugins/backends/saml2_backend.yaml.example saml2-social/plugins/
23+
cp example/plugins/backends/{facebook,google}_backend.yaml.example saml2-social/plugins/
2424
```
2525

2626
1. Configure the proxy:
@@ -36,7 +36,8 @@ be configured with a SAML2 frontend and an SAML2 backend.
3636
configuration parameter values:
3737
```yaml
3838
BACKEND_MODULES:
39-
- saml2-social/plugins/saml2_backend.yaml
39+
- saml2-social/plugins/facebook_backend.yaml
40+
- saml2-social/plugins/google_backend.yaml
4041
FRONTEND_MODULES:
4142
- saml2-social/plugins/saml2_frontend.yaml
4243
```
@@ -53,13 +54,14 @@ be configured with a SAML2 frontend and an SAML2 backend.
5354

5455
1. Configure the plugins
5556
1. Rename `plugins/saml2_frontend.yaml.example` to `plugins/saml2_frontend.yaml`
56-
and `plugins/saml2_backend.yaml.example` to `plugins/saml2_backend.yaml`
57+
and `plugins/{facebook,google}_backend.yaml.example` to `plugins/{facebook,google}_backend.yaml`
5758
```bash
5859
mv plugins/saml2_frontend.yaml.example plugins/saml2_frontend.yaml
59-
mv plugins/saml2_backend.yaml.example plugins/saml2_backend.yaml
60+
mv plugins/facebook_backend.yaml.example plugins/facebook_backend.yaml
61+
mv plugins/google_backend.yaml.example plugins/google_backend.yaml
6062
```
6163

62-
1. Open saml2_frontend.yaml; Change the **module** attribute to the **satosa.frontends.saml2.SAMLMirrorFrontend**
64+
1. In `saml2_frontend.yaml`: Change the `module` configuration parameter to `satosa.frontends.saml2.SAMLMirrorFrontend`.
6365
1. Specify the necessary configuration parameters, see the [Plugins](README.md#plugins) section
6466
of the proxy configuration instructions for more information.
6567

0 commit comments

Comments
 (0)