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

deps: revert to golang.org/x/oauth2 upstream #51495

Merged
merged 4 commits into from May 9, 2023
Merged

Conversation

bobheadxi
Copy link
Member

@bobheadxi bobheadxi commented May 4, 2023

The issue this fork was meant to address (golang/oauth2#441) has been fixed upstream:

Notably, both implementations change the error returned to render more verbose details on .Error() if the response is a status 200 but an error (see above issues)

A diff against upstream indicates that there are no other changes: sourcegraph/oauth2#3

This patch is not yet in a full release, but it is the only change on top of the most recent release, so we're not introducing too many unknowns here: golang/oauth2@v0.7.0...cfe200d - when a full release is cut we can upgrade again. https://github.com/golang/oauth2/releases/tag/v0.8.0 was cut yesterday, this PR uses that.

Test plan

Test suites pass

@cla-bot cla-bot bot added the cla-signed label May 4, 2023
@bobheadxi bobheadxi marked this pull request as ready for review May 8, 2023 19:00
@bobheadxi bobheadxi requested review from beyang, unknwon and a team May 8, 2023 19:00
@unknwon unknwon requested a review from a team May 8, 2023 19:06
@bobheadxi
Copy link
Member Author

https://github.com/golang/oauth2/releases/tag/v0.8.0 was cut yesterday, updated to use that

@bobheadxi bobheadxi enabled auto-merge (squash) May 9, 2023 16:37
@bobheadxi bobheadxi merged commit 44e0db3 into main May 9, 2023
13 checks passed
@bobheadxi bobheadxi deleted the oauth2-upstream branch May 9, 2023 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants