Skip to content
This repository was archived by the owner on Aug 16, 2019. It is now read-only.
This repository was archived by the owner on Aug 16, 2019. It is now read-only.

POST using oauthv1 not working in prepareOAuthv1RequestUsingConsumerKey #8

@kkaliher

Description

@kkaliher

I saw in the implementation that POST params were extracted from the URLRequest, then parsed into a NSDictionary, then that was passed to the signature creation method. But the resulting signature was incorrect.

I wrote a new method for NSMutableURLRequest+YOAuth.h that also accepts params as a NSDictionary so this step can be skipped, and that solved things. These params are then sent straightaway to YOAuthv1GetAuthorizationHeader.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions