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
@betolink we need to add documentation about refresh_tokens and get_session to the authentication user guide. Do you have any examples for how these would be used?
refresh_tokens() regenerates EDL bearer tokens, I don't have a lot of examples but the explanatory text can mention that in case a user has not used their EDL account for a while (I think 2 months) the tokens will expire, if no token is available the function will generate at least one token. Only 2 tokens per user are allowed by the API.
get_session() just returns a Python requests session with the bearer token.
Is this issue already tracked somewhere, or is this a new report?
Current Behavior
User Guide Authentication page needs populating
Expected Behavior
Contains complete documentation with examples for authenticating using earthaccess
Steps To Reproduce
See https://earthaccess.readthedocs.io/en/latest/user_guide/authenticate/
Environment
Additional Context
No response
The text was updated successfully, but these errors were encountered: