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

Pass content in HTTP POST request on OAuth server #1826

Merged
merged 3 commits into from Dec 4, 2021
Merged

Conversation

rmlev
Copy link
Contributor

@rmlev rmlev commented Dec 2, 2021

Performs an HTTP request.
HWI\Bundle\OAuthBundle\OAuth\ResourceOwner\AbstractResourceOwner::httpRequest

If the $content is string, then the $content was lost. $content passed to $this->httpClient->request for array only, not string.
I was getting an 400 response from the Auth0 server on /oauth/token instead of access token.

This is fixed. Tested on Auth0.

@stloyd stloyd merged commit 95b8b8f into hwi:master Dec 4, 2021
@stloyd
Copy link
Collaborator

stloyd commented Dec 4, 2021

Merged, thanks @rmlev ! Symfony 6 will be handled in #1800

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.

None yet

2 participants