I've got my Javascript client app working well, but the streaming access token expires after 1 hour. I'm trying to make it play a playlist all the way through, which is often longer than 1 hour. Is there a way to renew the token without requiring the user to log in again?
Asked
Active
Viewed 95 times
1 Answers
2
Client-side applications cannot renew their token as they are not supplied with a refresh token. If you want to renew the token, you need to do a webservice application which can store a secret and use this to renew the access_token.

Uwe L. Korn
- 8,080
- 1
- 30
- 42
-
Thanks for the quick answer. So there is no way to play > 1 hour of music continually without requiring the user the log in again? Is there some other method that I'm missing? – eclee Mar 13 '14 at 21:33
-
Sadly not. I enquired Beats Support about the same issue and the only way is to make a Web Server Application: https://developer.beatsmusic.com/docs/read/getting_started/Web_Server_Applications – Uwe L. Korn Mar 13 '14 at 21:35