RegisterBrokenAuthHeaderProvider registers an OAuth2 server identified by the tokenURL prefix as an OAuth2 implementation which doesn't support the HTTP Basic authentication scheme to authenticate with the authorization server. Once a server is registered, credentials (client_id and client_secret) will be passed as query parameters rather than being present in the Authorization header. See https://code.google.com/p/goauth2/issues/detail?id=31 for background.
RegisterBrokenAuthHeaderProvider is referenced in 5 repositoriesgithub.com/dropbox/dropbox-sdk-go-unofficial github.com/empirefox/gin-oauth2
- 2 references in providers.go
- 1 reference in webauth/auth.go