BlueBrain / BlueBrain/nexus-forge
way of updating a token
Open
enhancement
- Dominant language
- Python
- Stars
- 52
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
Currently, there doesn't appear to be a way to update a token except for recreating a whole new `forge` instance (which is heavy).
Thus, we are running into timeout issues when trying to use a `forge` instance that is then used by other code to register many entities.
Would it be possible to have a callback that could be set on `forge` creation? `Forge` could then call the callback when it notices that API requests are failing due to expired token, or after checking that a token is expired.
thanks
Contributor guide
Assessment
This issue has not been assessed yet.