Festify / cordova-spotify-oauth

🔐 Easy Spotify authentication for Cordova / PhoneGap apps
MIT License
16 stars 18 forks source link

Encode encrypt refresh token in refresh http call #34

Closed alex96gm closed 3 years ago

alex96gm commented 3 years ago

Encode encrypt refresh token

This fix is the solution to my problem sending the encrypt refresh token through http call in this plugin

U2FsdGVkX1/ReiEz6KsJg66dH5Hi+VD9eJdtHWGVzbPRPT4zy1Qobu1KTYRTchWtfljM5Vi/FZskYzOevxjucWqs0QTUfUu9tvas0ppRoJ6mSgrAM4+1Z8a47oZr2MRRlZR1JHipYLZ1HbYZ9miz2I5k2ipuQNYQuNHc0+jmrfn7AIlA3CKXuK2OqiWrvX+w8V8/iRtpM5y1GN6ICmFe5A==

refresh_token: U2FsdGVkX1/ReiEz6KsJg66dH5Hi VD9eJdtHWGVzbPRPT4zy1Qobu1KTYRTchWtfljM5Vi/FZskYzOevxjucWqs0QTUfUu9tvas0ppRoJ6mSgrAM4 1Z8a47oZr2MRRlZR1JHipYLZ1HbYZ9miz2I5k2ipuQNYQuNHc0 jmrfn7AIlA3CKXuK2OqiWrvX w8V8/iRtpM5y1GN6ICmFe5A==

It's not the same encrypted token, there are some blanks

I hope you merge this pull request to improve this plugin.

Thank you for your time.

NeoLegends commented 3 years ago

Looks good, thanks!