Add a timeout to the backend request made during authentication. Add more generic exception handling so that if TUP-services is unavailable for some reason, the site is still accessible.
In the main branch, set TUP_SERVICES_URL in the config to something that doesn't exist. Confirm the existing behavior, which is that failure to connect to tup-services will prevent the entire site from rendering.
Check out the PR branch and do the same thing. You should see the site render but be logged out if you were logged in before.
Overview
Add a timeout to the backend request made during authentication. Add more generic exception handling so that if TUP-services is unavailable for some reason, the site is still accessible.
Related
Changes
Testing
main
branch, set TUP_SERVICES_URL in the config to something that doesn't exist. Confirm the existing behavior, which is that failure to connect to tup-services will prevent the entire site from rendering.UI
Notes