mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 12:45:52 +03:00
[GH-ISSUE #40] oauth_token in request? #22
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#22
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 @gabriel-jones on GitHub (Mar 26, 2015).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/40
Under the OAuthSwiftClient, authorizationHeaderForMethod function, the authorisation parameters do not include oauth_token when I try to do a request. I tested it out, and oauth_token is an empty string, so it's not being included. I think this is why my request is not working -- can anybody tell me how to include the oauth_token into the request?
I'm initialising the OAuth1Swift class in my main View Controller. Therefore I don't think I can get the oauth_token until I initialise it, which is not happening before the authorizationHeaderForMethod, so I don't get a value. Any ideas?
@Berdikhan commented on GitHub (Apr 7, 2015):
I have a same issue...
I want to do a GET request, but I got token_rejected error message (I did authentication before and I have an access token)