We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13f73f4 commit 7e69486Copy full SHA for 7e69486
src/oauth2_proxy/server.py
@@ -49,8 +49,7 @@ def get(self):
49
50
elif not OpenIDCookieHandlerMixin.get_current_user(self):
51
logging.warning('Not authenticated')
52
- self.redirect(f'/oauth2/start?redirect={url_escape(path if path else '/')}')
53
- return
+ raise HTTPError(401, 'not authorized')
54
55
self.set_status(204)
56
0 commit comments