mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 20:55:57 +03:00
[GH-ISSUE #187] Withings server does not process the oauth parameters sent in Authorization header #112
Labels
No labels
bug
cocoapod
duplicate
enhancement
feature-request
help wanted
help wanted
invalid
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/OAuthSwift#112
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jdrevet on GitHub (Feb 19, 2016).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/187
If we send a request to Withings API to access any resources, the server returns an error :
I have used the following code to send the request with the demo app :
It appears that the Withings server does not process the oauth parameters sent in Authorization header but wait for them in the request parameters.
It is not usual but it is compliant with the RFC 5849 which defines 3 differents ways to transmit the oauth parameters.
I have forked the repository to make a fix and I will submit a PR soon.