Skip to content

Commit 891e7aa

Browse files
authored
Merge pull request #33 from z38/improve-dx
Improve DX
2 parents 365b358 + 9c3dfca commit 891e7aa

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

doc/oidc-to-saml2.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ be configured with a OpenID Connect frontend and a SAML2 backend.
88
```bash
99
mkdir -p oidc-saml2/plugins
1010
cp example/{proxy_conf.yaml.example,internal_attributes.yaml.example} oidc-saml2/
11-
cp example/plugins/frontends/oidc_frontend.yaml.example oidc-saml2/plugins/
11+
cp example/plugins/frontends/openid_connect_frontend.yaml.example oidc-saml2/plugins/
1212
cp example/plugins/backends/saml2_backend.yaml.example oidc-saml2/plugins/
1313
```
1414

@@ -27,7 +27,7 @@ be configured with a OpenID Connect frontend and a SAML2 backend.
2727
BACKEND_MODULES:
2828
- "oidc-saml2/plugins/saml2_backend.yaml"
2929
FRONTEND_MODULES:
30-
- "oidc-saml2/plugins/oidc_frontend.yaml"
30+
- "oidc-saml2/plugins/openid_connect_frontend.yaml"
3131
```
3232

3333
1. Configure the attribute mapping:
@@ -41,10 +41,10 @@ be configured with a OpenID Connect frontend and a SAML2 backend.
4141
information.
4242

4343
1. Configure the plugins
44-
1. Rename `plugins/oidc_frontend.yaml.example` to `plugins/oidc_frontend.yaml`
44+
1. Rename `plugins/openid_connect_frontend.yaml.example` to `plugins/openid_connect_frontend.yaml`
4545
and `plugins/saml2_backend.yaml.example` to `plugins/saml2_backend.yaml`
4646
```bash
47-
mv plugins/oidc_frontend.yaml.example plugins/oidc_frontend.yaml
47+
mv plugins/openid_connect_frontend.yaml.example plugins/openid_connect_frontend.yaml
4848
mv plugins/saml2_backend.yaml.example plugins/saml2_backend.yaml
4949
```
5050

src/satosa/proxy_server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def __init__(self, config):
9191
def __call__(self, environ, start_response, debug=False):
9292
path = environ.get('PATH_INFO', '').lstrip('/')
9393
if ".." in path or path == "":
94-
resp = NotFound("Couldn't find the side you asked for!")
94+
resp = NotFound("Couldn't find the page you asked for!")
9595
return resp(environ, start_response)
9696

9797
context = Context()
@@ -114,7 +114,7 @@ def __call__(self, environ, start_response, debug=False):
114114
raise resp
115115
return resp(environ, start_response)
116116
except SATOSANoBoundEndpointError:
117-
resp = NotFound("Couldn't find the side you asked for!")
117+
resp = NotFound("Couldn't find the page you asked for!")
118118
return resp(environ, start_response)
119119
except Exception as err:
120120
logger.exception("%s" % err)

0 commit comments

Comments
 (0)