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

fix for oauth2 refresh tokens obtained using client secret #152

Merged
merged 2 commits into from
May 6, 2024

Conversation

wfraser
Copy link
Member

@wfraser wfraser commented May 2, 2024

They are different from tokens obtained with the PKCE flow, and need the client secret to be provided again along with the refresh token when obtaining new tokens.

Fixes #151

Checklist

General Contributing

  • I have read the Code of Conduct and signed the CLA.
  • I have added an entry to the RELEASE_NOTES.md file, or believe it's not necessary for this change.

Validation

(Semi-)manual testing; not going to check in the oauth2 tests I have which all have private tokens in them...

They are different from tokens obtained with the PKCE flow, and need the client secret to be provided again along with the refresh token when obtaining new tokens.
@wfraser wfraser merged commit cd3e2e3 into dropbox:master May 6, 2024
2 checks passed
@wfraser wfraser deleted the oauth2-secret-refresh branch May 6, 2024 18:23
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

Successfully merging this pull request may close these issues.

Obtain Access Token seems to fail
1 participant