[GH-ISSUE #374] No apparent way to make Oauth 1.a requests #238

Closed
opened 2026-03-03 16:46:58 +03:00 by kerem · 7 comments
Owner

Originally created by @josephquigley on GitHub (May 17, 2017).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/374

Description:

There doesn't seem to be any way to make OAuth 1.a requests in the wiki, example code, or in source. Are people supposed to use raw OAuthSwiftHTTPRequest requests?

OAuth Version:

  • Version 1
  • Version 2
Originally created by @josephquigley on GitHub (May 17, 2017). Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/374 ### Description: There doesn't seem to be any way to make OAuth 1.a requests in the wiki, example code, or in source. Are people supposed to use raw `OAuthSwiftHTTPRequest` requests? ### OAuth Version: - [x] Version 1 - [ ] Version 2
kerem closed this issue 2026-03-03 16:46:58 +03:00
Author
Owner

@phimage commented on GitHub (May 17, 2017):

I am a little confusing about why you did not find the code, maybe I do not understand your question
But there a lot of ´get´ in demo app
In readme there is an example of request

<!-- gh-comment-id:301997358 --> @phimage commented on GitHub (May 17, 2017): I am a little confusing about why you did not find the code, maybe I do not understand your question But there a lot of ´get´ in demo app In readme there is an example of request
Author
Owner

@josephquigley commented on GitHub (May 20, 2017):

Thought I replied to you, but it looks like email reply-to didn't work. Sorry.

I'm new to OAuth, so forgive my questions. Are you referring to the signed request part of the readme? Because the OAuth1 section doesn't show any examples of a 1.0a request that only uses a public key and a secret key. It shows examples of tokens and authorize URLs. As far as I know, those don't apply to 1.0a.

<!-- gh-comment-id:302894528 --> @josephquigley commented on GitHub (May 20, 2017): Thought I replied to you, but it looks like email reply-to didn't work. Sorry. I'm new to OAuth, so forgive my questions. Are you referring to the signed request part of the readme? Because the OAuth1 section doesn't show any examples of a 1.0a request that only uses a public key and a secret key. It shows examples of tokens and authorize URLs. As far as I know, those don't apply to 1.0a.
Author
Owner

@phimage commented on GitHub (May 20, 2017):

I don't think so
1.0a also could use authorize
https://oauth.net/core/1.0a/

<!-- gh-comment-id:302894818 --> @phimage commented on GitHub (May 20, 2017): I don't think so 1.0a also could use authorize https://oauth.net/core/1.0a/
Author
Owner

@josephquigley commented on GitHub (May 22, 2017):

Authorize in OAuthSwift?

<!-- gh-comment-id:303232459 --> @josephquigley commented on GitHub (May 22, 2017): Authorize in OAuthSwift?
Author
Owner

@phimage commented on GitHub (May 23, 2017):

oauthswift.authorize(... , normal use of framwork, see readme...

<!-- gh-comment-id:303309049 --> @phimage commented on GitHub (May 23, 2017): `oauthswift.authorize(...` , normal use of framwork, see readme...
Author
Owner

@josephquigley commented on GitHub (May 29, 2017):

Ok, I figured it out. The documentation on the Readme.md was not clear. You can init OAuth1Swift with empty strings for the requestTokenUrl, authorizeUrl, and accessTokenUrl parameters.

Pull request: https://github.com/OAuthSwift/OAuthSwift/pull/378

<!-- gh-comment-id:304741364 --> @josephquigley commented on GitHub (May 29, 2017): Ok, I figured it out. The documentation on the Readme.md was not clear. You can init `OAuth1Swift` with empty strings for the `requestTokenUrl`, `authorizeUrl`, and `accessTokenUrl` parameters. Pull request: https://github.com/OAuthSwift/OAuthSwift/pull/378
Author
Owner

@phimage commented on GitHub (Jun 2, 2017):

@josephquigley do not close your issue next time if you make a PR
Just put Fix #issue_number in your PR title and the issue will be closed automatically when merging PR

<!-- gh-comment-id:305800551 --> @phimage commented on GitHub (Jun 2, 2017): @josephquigley do not close your issue next time if you make a PR Just put Fix #issue_number in your PR title and the issue will be closed automatically when merging PR
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/OAuthSwift#238
No description provided.