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

odic connector: Expose x/oauth2#RegisterBrokenAuthHeaderProvider to clients #859

Closed
curtisallen opened this issue Mar 17, 2017 · 0 comments · Fixed by #860
Closed

odic connector: Expose x/oauth2#RegisterBrokenAuthHeaderProvider to clients #859

curtisallen opened this issue Mar 17, 2017 · 0 comments · Fixed by #860

Comments

@curtisallen
Copy link

Using the OIDC connector with Okta produces the following error

level=error msg="Failed to authenticate: oidc: failed to get token: oauth2: cannot fetch token: 401 Unauthorized\nResponse: {\"error\":\"invalid_request\",\"error_description\":\"Cannot supply client credentials in both the Authentication header and the request-body.\"}"

It looks like dex needs a way to call oauth2.RegisterBrokenAuthHeaderProvider before
this line is invoked.

Addational context

See golang/oauth2#224

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

Successfully merging a pull request may close this issue.

2 participants