SoundCloud
SoundCloud copied to clipboard
Handling Auth / Refresh Tokens
I've managed to get basically all the functionality I needed to work from the library, including a small WebView where the user logs into their account and I use the token generated there to run the actions in-app.
The issue I'm having is keeping that token alive. Prior to getting this login working, I took my hardcoded token from the browser, which I never had to update - it just seemed to work!
Has anyone (likely @lbrndnr :D) got any experience with handling SC auth, or any pointers on how I should be handling it?
Thanks 🙏