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

Longer lived access tokens #737

Open
shreddd opened this issue Oct 22, 2024 · 0 comments
Open

Longer lived access tokens #737

shreddd opened this issue Oct 22, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@shreddd
Copy link
Collaborator

shreddd commented Oct 22, 2024

Currently the NMDC API access token is only set for 30 min, which makes it pretty cumbersome for any long running operations. Would like to request that this be changed to 24 hours. Should be a 1 line fix:

ACCESS_TOKEN_EXPIRES = TokenExpires(days=0, hours=0, minutes=30)

But before pushing a PR I also wanted to check if there were any prior discussions around why it was only 30 min.

@shreddd shreddd added the enhancement New feature or request label Oct 22, 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

1 participant