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

OAuth2: Try to refresh the token even if the credentials weren't ready. #6583

Merged
merged 1 commit into from
Jun 14, 2018

Conversation

ogoffart
Copy link
Contributor

This can happen when the client is started and the internet connection
was not enabled. Then we would fetch the credentials, but we would
no do the refresh token step (because network is down).
So next time we try to connect, we would also not refresh the token
because the credentials are not marked as 'ready'

Reported in
#6522 (comment)

This can happen when the client is started and the internet connection
was not enabled. Then we would fetch the credentials, but we would
no do the refresh token step (because network is down).
So next time we try to connect, we would also not refresh the token
because the credentials are not marked as 'ready'

Reported in
#6522 (comment)
@ckamm
Copy link
Contributor

ckamm commented Jun 13, 2018

Intentionally master? Looks good to me otherwise.

@ogoffart
Copy link
Contributor Author

@ckamm no, master is not intentional.
I 'll move to 2.5

@ogoffart ogoffart changed the base branch from master to 2.5 June 13, 2018 13:34
@ckamm ckamm added this to the 2.5.0 milestone Jun 13, 2018
@ogoffart ogoffart merged commit 4cc0539 into 2.5 Jun 14, 2018
@ogoffart ogoffart deleted the oauth-restart branch June 14, 2018 10:58
@guruz guruz modified the milestones: 2.5.0, 2.4.2 Jul 18, 2018
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.

None yet

3 participants