Skip to content
This repository was archived by the owner on Jun 12, 2021. It is now read-only.

Commit 20efb97

Browse files
committed
Stable naming of endpoints.
1 parent 07855d9 commit 20efb97

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

src/oidcendpoint/exception.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,7 @@ class InvalidCookieSign(Exception):
6565
class OnlyForTestingWarning(Warning):
6666
"Warned when using a feature that only should be used for testing."
6767
pass
68+
69+
70+
class ProcessError(OidcEndpointError):
71+
pass

src/oidcendpoint/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def build_endpoints(conf, endpoint_context, client_authn_method, issuer):
8080
except KeyError:
8181
_instance.client_authn_method = client_authn_method
8282

83-
endpoint[name] = _instance
83+
endpoint[_instance.name] = _instance
8484

8585
return endpoint
8686

0 commit comments

Comments
 (0)