View definition

func RegisterBrokenAuthHeaderProvider

Defined in


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 for background.

RegisterBrokenAuthHeaderProvider is referenced in 1 repository