Uncaught error in oauth
I have observed the following error message in the logs on the current master branch:
Traceback (most recent call last):
File "/opt/conda/lib/python3.9/site-packages/flask/app.py", line 1484, in full_dispatch_request
rv = self.dispatch_request()
File "/opt/conda/lib/python3.9/site-packages/flask/app.py", line 1469, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "/opt/conda/lib/python3.9/site-packages/flask/views.py", line 109, in view
return current_app.ensure_sync(self.dispatch_request)(**kwargs)
File "/opt/conda/lib/python3.9/site-packages/flask/views.py", line 190, in dispatch_request
return current_app.ensure_sync(meth)(**kwargs)
File "/app/zesje/api/oauth.py", line 56, in get
user_url = session["oauth_userurl"]
While the users did not report disruptions, this warrants investigation.