[GH-ISSUE #376] Make signed request nothing happens #241

Closed
opened 2026-03-03 16:46:59 +03:00 by kerem · 1 comment
Owner

Originally created by @jeffreyabarrios on GitHub (May 19, 2017).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/376

Hello! I have a custom server with oauth 1, and im trying to make the authorization with these examples from the docs:
//this variable is declared on top of the class
var oauthswift: OAuthSwift?

//then any of these example codes is what i used (with the correct parameters) on the action outlet for the login button
oauthswift.client.get("https://api.linkedin.com/v1/people/",
success: { response in
let dataString = response.string
print(dataString)
},
failure: { error in
print(error)
}
)
// same with request method
oauthswift.client.request("https://api.linkedin.com/v1/people/
", .GET,
parameters: [:], headers: [:],
success: { ...

This is attached to a login button, but when I click it nothing happens, and the object oauthswift appears as nil in console, can you help me please?

Originally created by @jeffreyabarrios on GitHub (May 19, 2017). Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/376 Hello! I have a custom server with oauth 1, and im trying to make the authorization with these examples from the docs: //this variable is declared on top of the class var oauthswift: OAuthSwift? //then any of these example codes is what i used (with the correct parameters) on the action outlet for the login button oauthswift.client.get("https://api.linkedin.com/v1/people/~", success: { response in let dataString = response.string print(dataString) }, failure: { error in print(error) } ) // same with request method oauthswift.client.request("https://api.linkedin.com/v1/people/~", .GET, parameters: [:], headers: [:], success: { ... This is attached to a login button, but when I click it nothing happens, and the object oauthswift appears as nil in console, can you help me please?
kerem closed this issue 2026-03-03 16:47:00 +03:00
Author
Owner

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

no issue template?
I will close
need help, please take your time to respond to template question

and read readme

<!-- gh-comment-id:302892757 --> @phimage commented on GitHub (May 20, 2017): no issue template? I will close need help, please take your time to respond to template question and read readme
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#241
No description provided.