Api hotfix sqlalchemy
Compare changes
Some changes are not shown
For a faster browsing experience, some files are collapsed by default.
Files
6@@ -73,6 +74,7 @@ class SessionMiddleware:
Webservice logs showed errors when trying to log in:
authlib.integrations.base_client.errors.MismatchingStateError: mismatching_state: CSRF Warning! State not equal in request and response.
Database sessions were unable to load, so the session state was not available for authentication. This appears to be related to an interaction between encode/databases and sqlalchemy 1.4.42 seems to cause issues with databases (https://stackoverflow.com/a/74102692). Pinning sqlalchemy to 1.4.41 resolves the issue for now.
INFO
level logging by default, configured with LOG_LEVEL=INFO
environment variable/cc @erigler
For a faster browsing experience, some files are collapsed by default.