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

Don't pass the request headers to 3scale backend for native OAuth flow #433

Merged
merged 1 commit into from
Sep 29, 2017

Conversation

mayorova
Copy link
Contributor

Keeping the request headers may be causing the issue with passing an incorrect Content-Type to the 3scale backend when storing the access token (POST https://su1.3scale.net/services/<SERVICE_ID>/oauth_access_tokens.xml).

The only valid content types for this endpoint are:

  • application/x-www-form-urlencoded
  • empty header (backend with then handle it as application/x-www-form-urlencoded implicitly)

@mayorova mayorova changed the title Don't pass the request headers to 3scale backend native OAuth flow Don't pass the request headers to 3scale backend for native OAuth flow Sep 26, 2017
@mayorova mayorova force-pushed the fix-oauth-store-headers branch 2 times, most recently from 5d7bb6d to b21806a Compare September 28, 2017 12:03
@mayorova mayorova requested a review from mikz September 28, 2017 12:28
@mayorova mayorova force-pushed the fix-oauth-store-headers branch from b21806a to 772c46d Compare September 29, 2017 07:27
@mikz mikz merged commit 237d945 into master Sep 29, 2017
@mikz mikz deleted the fix-oauth-store-headers branch September 29, 2017 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants