Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix token expiration time #415

Merged
merged 1 commit into from
Apr 27, 2020

Conversation

TimotheeGerber
Copy link
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
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
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