Skip to content

Fix token expiration time#415

Merged
Rigellute merged 1 commit into
Rigellute:masterfrom
TimotheeGerber:token-expiration
Apr 27, 2020
Merged

Fix token expiration time#415
Rigellute merged 1 commit into
Rigellute:masterfrom
TimotheeGerber:token-expiration

Conversation

@TimotheeGerber
Copy link
Copy Markdown
Contributor

When using the cached Spotify token, the expiration time was not correctly computed. As a consequence, the re-authentication was not triggered.

I had to move from Instant to SystemTime. I hope this is OK.

Closes #410

Copy link
Copy Markdown
Owner

@Rigellute Rigellute left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work once again @TimotheeGerber 👏

I read your write up in issue #410, thank you.

Nice solution too 👍

@Rigellute Rigellute merged commit 9abd3d1 into Rigellute:master Apr 27, 2020
@TimotheeGerber TimotheeGerber deleted the token-expiration branch April 27, 2020 19:03
nighi pushed a commit to nighi/spotify-tui that referenced this pull request Jul 11, 2025
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.

400 Only Valid Bearer Authentication Supported

2 participants