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
hmrc.gov.uk #362
Comments
It is exposed: But also, I'm working on killing it and making this all automatic: So I'll close this for now. /cc @zombiezen |
gopherbot
pushed a commit
that referenced
this issue
Feb 11, 2019
Instead of maintaining a global map of which OAuth2 servers do which auth style and/or requiring the user to tell us, just try both ways and remember which way worked. But if users want to tell us in the Endpoint, this CL also add Endpoint.AuthStyle. Fixes #111 Fixes #365 Fixes #362 Fixes #357 Fixes #353 Fixes #345 Fixes #326 Fixes #352 Fixes #268 Fixes https://go-review.googlesource.com/c/oauth2/+/58510 (... and surely many more ...) Change-Id: I7b4d98ba1900ee2d3e11e629316b0bf867f7d237 Reviewed-on: https://go-review.googlesource.com/c/157820 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ross Light <light@google.com>
codegod2222
added a commit
to codegod2222/oauth_go
that referenced
this issue
Nov 25, 2022
Instead of maintaining a global map of which OAuth2 servers do which auth style and/or requiring the user to tell us, just try both ways and remember which way worked. But if users want to tell us in the Endpoint, this CL also add Endpoint.AuthStyle. Fixes golang/oauth2#111 Fixes golang/oauth2#365 Fixes golang/oauth2#362 Fixes golang/oauth2#357 Fixes golang/oauth2#353 Fixes golang/oauth2#345 Fixes golang/oauth2#326 Fixes golang/oauth2#352 Fixes golang/oauth2#268 Fixes https://go-review.googlesource.com/c/oauth2/+/58510 (... and surely many more ...) Change-Id: I7b4d98ba1900ee2d3e11e629316b0bf867f7d237 Reviewed-on: https://go-review.googlesource.com/c/157820 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ross Light <light@google.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
please add:
"https://test-api.service.hmrc.gov.uk/oauth/token",
"https://api.service.hmrc.gov.uk/oauth/token",
to
"golang.org/x/oauth2/internal/token.go brokenAuthHeaderProviders[]
without this in place api calls to hmrc don't receive client_id or client_secret properly.
It might be nice to expose that array to make this easier to add sites from other packages/softwares. Thoughts?
The text was updated successfully, but these errors were encountered: