View definition

func RegisterBrokenAuthHeaderProvider

Defined in github.com/golang/oauth2/oauth2.go

Description

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 repositories

github.com/dropbox/dropbox-sdk-go-unofficial github.com/empirefox/gin-oauth2 github.com/abourget/slick

...