Fix NameError in custos_authnz.py
Summary of Changes
- Fixes a bug in custos_authnz.py that prevents XCAMS-based token refresh.
- Fixes a couple of issues preventing keycloak-based login and token refresh that I needed for testing. Note that the dev version of upstream Galaxy removes custos_authnz entirely in favor of psa_authnz, so the keycloak support would be fixed there already. This would just be a temporary measure that I've found to be extremely useful in testing/debugging auth tokens.
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
Closes #146 (closed)