Something went wrong on our end
Api hotfix sqlalchemy
Compare changes
Files
2- Jeremy M Fee authored
+ 4
− 4
@@ -15,10 +15,10 @@ from starlette.responses import RedirectResponse
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