diff --git a/pyproject.toml b/pyproject.toml index c11af30..424f2d0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,7 +29,7 @@ app = [ "zope.publisher", "zope.traversing", ] -auth = ["pyjwt[crypto]", "cryptography"] +auth = ["pyjwt[crypto]", "cryptography", "requests"] test = ["zope.testrunner"] #test = ["pytest"] diff --git a/scopes/server/auth.py b/scopes/server/auth.py index 6e40de9..3f55957 100644 --- a/scopes/server/auth.py +++ b/scopes/server/auth.py @@ -46,6 +46,7 @@ class OidcAuthentication: def logout(self, request): print('*** OidcAuthentication: logout') + Authenticator(request).logout() JwtAuthentication = OidcAuthentication # old name - still used?