Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

way of updating a token #294

Open
mgeplf opened this issue Mar 13, 2023 · 0 comments
Open

way of updating a token #294

mgeplf opened this issue Mar 13, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@mgeplf
Copy link

mgeplf commented Mar 13, 2023

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

@ssssarah ssssarah added the enhancement New feature or request label Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants