larkinds / Spotify.MLH

3 stars 1 forks source link

Store API keys in extension preferences instead of secrets.json #27

Open jkmartindale opened 3 years ago

jkmartindale commented 3 years ago

This would make it easier for the user to pop in their own API keys without having to build the extension themselves.

jkmartindale commented 3 years ago

The end goal would be to make auth not happen immediately on startup, but have a button in the status bar.

Until we get there: I figured out how to pull API keys from preferences. I'm going to see if I can set it up so if the user hasn't set the preference they are prompted for API keys, which are then immediately stored to their preferences before continuing with auth.