You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a bug in the token refresh logic that results in permanent silent failure. This makes the entire ebapi library pointless to use because authorization tokens require frequent refreshes.
Calling the refresh() method on a FileTokens instances (used by ApiConnection) results in a NameError, but is masked by a try/except block that ignores any instance of Exception that it catches.
# sniptry:
self.user.loc[idx] =refresh_token(ref) # <-- refresh_token() is not defined (NameError)exceptException:
pass# <-- bug is completely silenced# snip
The text was updated successfully, but these errors were encountered:
There is a bug in the token refresh logic that results in permanent silent failure. This makes the entire
ebapi
library pointless to use because authorization tokens require frequent refreshes.Calling the
refresh()
method on aFileTokens
instances (used byApiConnection
) results in aNameError
, but is masked by a try/except block that ignores any instance ofException
that it catches.Comment added in code snippet below (copied from tokens.py here) identifies where the bug is located:
The text was updated successfully, but these errors were encountered: