[GH-ISSUE #7] [Question] When will the authentication json file expire? #6

Closed
opened 2026-02-27 22:07:29 +03:00 by kerem · 1 comment
Owner

Originally created by @ccyang2019 on GitHub (Apr 14, 2020).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/7

As title, I don't when will the authentication file expire.
If I create a new authentication json file, it will be ok to run at fist several times. But it will fail to authenticate if I sign out this account at another browser. Or some unknown reasons which will cause this verified authentication json file expired.

Originally created by @ccyang2019 on GitHub (Apr 14, 2020). Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/7 As title, I don't when will the authentication file expire. If I create a new authentication json file, it will be ok to run at fist several times. But it will fail to authenticate if I sign out this account at another browser. Or some unknown reasons which will cause this verified authentication json file expired.
kerem 2026-02-27 22:07:29 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@sigma67 commented on GitHub (Apr 14, 2020):

I assume it lasts as long as your browser session. So if you sign off or switch accounts it would expire. Otherwise, it should last several months at least, judging from Cookie expiry times in my browser.

However, we need further testing to determine the max lifetime.

<!-- gh-comment-id:613679525 --> @sigma67 commented on GitHub (Apr 14, 2020): I assume it lasts as long as your browser session. So if you sign off or switch accounts it would expire. Otherwise, it should last several months at least, judging from Cookie expiry times in my browser. However, we need further testing to determine the max lifetime.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ytmusicapi#6
No description provided.