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 RefreshTokenAuthorizer to update refresh_token #359

Merged
merged 1 commit into from
Jun 24, 2019

Conversation

sirosen
Copy link
Member

@sirosen sirosen commented Jun 20, 2019

resolves #295

This fix makes the RefreshTokenAuthorizer update its internal refresh_token field when one is present in the token_data it receives back.

Update the tests for RefreshTokenAuthorizer to be parameterized and have both responses with and without the refresh_token field.

@sirosen sirosen added the bug Something isn't working correctly label Jun 20, 2019
@sirosen sirosen requested a review from jaswilli June 20, 2019 21:04
resolves globus#295

This fix makes the RefreshTokenAuthorizer update its internal
`refresh_token` field when one is present in the token_data it receives
back.

Update the tests for RefreshTokenAuthorizer to be parameterized and have
both responses with and without the `refresh_token` field.
@sirosen sirosen force-pushed the fix-refresh-token-renewal branch from 1239533 to 4c4c1ea Compare June 20, 2019 21:05
@jaswilli jaswilli merged commit 07f0408 into globus:master Jun 24, 2019
@sirosen sirosen deleted the fix-refresh-token-renewal branch June 24, 2019 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RenewingAuthorizer implementation is in violation of OAuth2 spec
2 participants