You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The exception handler for BackendErrors redirects to the index page.
If the user is logged in, and the BackendError is caused by the backend not being reachable, the flask login user loader will again raise a BackendError and with that comes the next redirect...
Somehow we have to detect this scenario and return an anonymous user from our user loader, and at the time display a Communication with the backend server failed error message.
The text was updated successfully, but these errors were encountered:
georgeto
changed the title
Avoid redirect loop if the backend is not reachable
Avoid redirect loop if backend is not reachable
Aug 31, 2020
The exception handler for
BackendError
s redirects to the index page.If the user is logged in, and the
BackendError
is caused by the backend not being reachable, the flask login user loader will again raise aBackendError
and with that comes the next redirect...Somehow we have to detect this scenario and return an
anonymous user
from our user loader, and at the time display a Communication with the backend server failed error message.The text was updated successfully, but these errors were encountered: