-
Notifications
You must be signed in to change notification settings - Fork 72
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
Clean way for forcing oauth_verifier to be in Auth header #58
Comments
I ran into this issue as well and I've submitted a PR that addresses, but it is not "clean" and I am on the fence about the actual solution. |
@stevenmaguire I'm glad I'm not crazy and that other people have run into this issue. We can close this issue if that PR solves the problem. I can take a look at a later time. |
Holy molly, u just saved me 2days of research, i almost lost it. |
I'm using thephpleague/oauth1-client with an OAuth1 server which will only work if the
oauth_verifier
is present in the header instead of as a body parameter which is how it currently is implemented.In order to get around this limitation and have this client work I implemented the following method in my Server file.
I'm not enthused about this solution and was looking to see if there was a more elegant solution.
Note: With a little bit of a research I don't believe the spec states that it should or shouldn't be in the header or the body; however, some have stated that it makes more sense to have it in the header with the rest of the oauth_parameters.
The text was updated successfully, but these errors were encountered: