rspotify icon indicating copy to clipboard operation
rspotify copied to clipboard

Direct access to `client_token` for JS purposes?

Open jcmorrow opened this issue 8 years ago • 1 comments

Hi y'all! Thanks for the lovely work here, I dig this library. I was going to write a JS autocomplete search and wanted to use this to grab my client token. The only problem I ran into is that after authentication there's no way to actually read the client token out. I made a one line change, but I'd be happy to add a test and address any concerns if there was support for this.

Cheers!

jcmorrow avatar Nov 19 '17 22:11 jcmorrow

Hi @jcmorrow! Yep that works! Go ahead and make a PR for it and I'll merge it. Thanks for the contribution.

guilhermesad avatar Dec 21 '17 21:12 guilhermesad