Improve error message when user needs to login to Calvera first
requested to merge 8-provide-a-more-useful-error-message-if-the-user-needs-to-login-to-calvera-first into dev
Summary of Changes
- Rewrites the Galaxy error when a user hasn't connected their OIDC provider to Galaxy.
- Ensures that the error message shows up immediately after login.
Checklist
-
The MR has a clear and concise title -
Code is self-documented and follows style guidelines. -
Automated tests are written and pass successfully. -
Regression tests (e.g. manually triggered system tests, manual GUI/tool tests, ...) are performed to make sure the MR does not break anything (when applicable) -
Readme file is present and up-to-date.
Documentation Updates
Additional Notes
You can reproduce the error being rewritten by going to https://{YOUR_GALAXY_URL}/user/external_ids and disconnecting the OIDC provider you want to test (AzureAD for UCAMS). Then, log into the dashboard via the provider you disconnected.
Closes #8 (closed)