social-core
social-core copied to clipboard
Elixir AAI token refresh fails
Expected behaviour
No errors while refreshing Elixir AAI tokens.
Actual behaviour
Elixir AAI tokens fail to refresh. This is not an isolated issue but seems to happen for every refresh attempt.
What are the steps to reproduce this issue?
Just make use of the Elixir AAI backend. When the time comes to refresh the token, this error will arise.
Any logs, error output, etc?
An error occurred when refreshing user token: 401 Client Error: 401 for url: https://login.elixir-czech.org/oidc/token
The error is arising in version 4.0.3.
Any other comments?
We have spotted this issue on UseGalaxy.eu, that makes use of Elixir AAI login in production. This exception arises about one hundred thousand times a day since September 1, 2023. Although there have been many releases since version 4.0.3, the last change on elixir.py was #722, and prior to that, it was 472c255. This means that nothing specifically related to Elixir seems to have changed in the codebase and updating to a newer release is not likely to fix the problem.
I will let the Elixir AAI people know about this issue.