Skip to content

Conversation

cryonox
Copy link
Contributor

@cryonox cryonox commented Sep 10, 2025

ESI tokens have two components, accesstokens and refreshtokens. Access tokens expire fast and refreshtokens are supposed to be indefinitely available according to CCP. However, refreshtokens in fact have a lifetime of around 30 days. If they are not accessed within 30days you will have to login again. If you have a lot of characters that are infrequently accessed, it is quite troublesome to have to reauth all of them.

This PR ensures that refreshtoken will not expire by validating them and forcing use of refreshtoken when pyfa starts in a background thread so that they will be valid indefinitely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant