Refresh expired tokens when verifying incoming tokens

Summary of Changes

Attempt to refresh expired tokens when verifying incoming tokens. Will also try to raise an exception when that refreshing fails, hopefully forcing users to log in again.

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 #138 (closed)

Merge request reports

Loading