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

Add OAuth2 HTTP handler #328

Closed
kgilpin opened this issue Aug 14, 2018 · 1 comment · Fixed by #1261
Closed

Add OAuth2 HTTP handler #328

kgilpin opened this issue Aug 14, 2018 · 1 comment · Fixed by #1261

Comments

@kgilpin
Copy link
Contributor

kgilpin commented Aug 14, 2018

Adding support for OAuth2 handler will enable us to support all these backends : https://github.com/golang/oauth2

The handler should simply perform:

token := oauth2.Token{AccessToken: string(token)}
token.SetAuthHeader(r)
@izgeri
Copy link
Contributor

izgeri commented Mar 26, 2020

Note: this could potentially be built using the generic HTTP connector or possibly even written via config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

3 participants