Serverless personal project - refreshing auth token solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Plan
Premium
Country
UK
My Question or Issue
I am developing a very simple jukebox style app for purely personal use to control my queue and allow others to add songs to it at parties and gathering etc. It will only ever use or need permission to access my own spotify account.
That being said, the docs on auth method seems needlessly overkill and convoluted for my use case. This is a simple locally hosted web page that invokes the api with ajax and client side javascript. I will not be hosting this on the web or making requiring a server/backend. I just want to either not have to refresh a token every hour (unrealistic) or, if I must, have a simple way of doing so via checking if the one I have is expired and getting a new one, or using the one I have. The 4 documented methods all fail to meet my use case, and all for some reason assume I have server based and require a redirect_uri as a parameter. I am lost as to how to proceed.
please any advice would be appreciated.
thanks,
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page