Open
Description
Hi @witnessmenow,
nice library! 👍
I saw that currently the token refresh calls are depending on client_secret
:
spotify-api-arduino/src/SpotifyArduino.h
Lines 234 to 235 in f0faeac
However, there are some flows where the client_secret
is not needed - it is not needed when the refresh_token was obtained using the device flow, and I see it is also not needed when the PKCE flow was followed.
Would you be open to have changes in your library where the client_secret
is optional so that the refresh_token
can be fetched using the client_id
only?
Metadata
Metadata
Assignees
Labels
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
[-]Refresh without client_secret // device flow support[/-][+]Refresh without client_secret // device flow and PKCE support[/+]witnessmenow commentedon Jan 16, 2023
Thanks!
Yeah I'd be happy to accept once it's documented, doesn't sound like it will be a major change
hansmbakker commentedon Jan 17, 2023
What do you mean with
documented
?PKCE is documented in the spotify documentation. I wrote down the calls for the device flow as well in the forum post - if needed I can clarify those.
witnessmenow commentedon Jan 17, 2023
hansmbakker commentedon Jan 17, 2023
Aah like that, I understand.