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

POST multipart forms fail to authenticate #93

Open
alanhartless opened this issue Oct 25, 2016 · 0 comments
Open

POST multipart forms fail to authenticate #93

alanhartless opened this issue Oct 25, 2016 · 0 comments

Comments

@alanhartless
Copy link

alanhartless commented Oct 25, 2016

We are writing files over an API endpoint in an app that leverages https://github.com/FriendsOfSymfony/FOSOAuthServerBundle where multipart forms are used by curl. But it seems that multipart forms are not supported by https://github.com/FriendsOfSymfony/oauth2-php/blob/master/lib/OAuth2.php#L645.

As a workaround, we have to make a special case of appending the access token as a query parameter instead.

Is this on purpose or simply an oversight?

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

No branches or pull requests

1 participant