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
The default ACCESS_TOKEN_EXPIRES is set to 24 hours, but in some cases we may want to use shorter lived tokens, especially for testing or one off short-lived tasks.
Consider adding an expires param to the /users/token endpoint to specify a shorter lifetime. Also enable support for seconds in the expires information returned.
The text was updated successfully, but these errors were encountered:
To clarify - this would address some of the testing issues with the nmdc-automation code where it needs to test an expiring token / token renewal (currently 24 hours). It would allow for clients to specify shorter lived tokens which would be useful for testing, or for systems where we only need to do one off things.
The default ACCESS_TOKEN_EXPIRES is set to 24 hours, but in some cases we may want to use shorter lived tokens, especially for testing or one off short-lived tasks.
Consider adding an
expires
param to the /users/token endpoint to specify a shorter lifetime. Also enable support for seconds in the expires information returned.The text was updated successfully, but these errors were encountered: