Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refresh token? #3

Open
kyds3k opened this issue Aug 30, 2020 · 7 comments
Open

Refresh token? #3

kyds3k opened this issue Aug 30, 2020 · 7 comments

Comments

@kyds3k
Copy link

kyds3k commented Aug 30, 2020

Hello,

From what I'm reading, you're supposed to always get a refresh token along with your access token. However, I'm not seeing one in the URL after I return from the auth. Is there something I'm missing?

@kevin51jiang
Copy link
Owner

This library uses Implicit Grant flow to keep it simple, meaning that Spotify doesn't provide a refresh token

@freddieerg
Copy link

Do you have any plans to make this compatible with Authorization Code Flow with Proof Key for Code Exchange (PKCE)? That would be literally amazing as it's kind of annoying having to get your user to reauth every 2 hours.

@kevin51jiang
Copy link
Owner

That's a good question.

I'm currently doing a rewrite of it in typescript, but after that would you be interested in helping?

@kevin51jiang kevin51jiang reopened this Mar 20, 2021
@freddieerg
Copy link

Once you've got the TS rewrite I'd be happy to create a PR with the PKCE Auth Flow. Just @ me on this thread whenever you've got a version ready for me to work with!

@ffleandro
Copy link

Using Auth Flow would need a Backend API to support it right?

Captura de Tela 2021-08-04 às 10 43 07

@robfreundlich
Copy link

Any updates on the Typescript rewrite and/or Authorization Code Flow? I'd be interested in helping out with the Typescript rewrite.

@waldothedeveloper
Copy link

Any updates on the Typescript rewrite and/or Authorization Code Flow? I'd be interested in helping out with the Typescript rewrite.

Same here @kevin51jiang, I would like to help with the Typescript rewrite as well...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants