mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 20:55:57 +03:00
[GH-ISSUE #491] Authorize throws error code -11(request error). However, same parameters work in REST Client. #322
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#322
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 @Ujjwal-N on GitHub (Sep 12, 2018).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/491
Description:
OAuth Provider? (Twitter, Github, ..): Schoology
OAuth Version:
OS (Please fill the version) :
Installation method:
Library version:
Xcode version:
[ x] 9.3 (Swift 4.1)
9.0 (Swift 4.0)
9.0 (Swift 3.2)
8.x (Swift 3.x)
8.0 (Swift 2.3)
7.3.1
other: (Please fill in the version you are using.)
objective c
Here is a screenshot of Insomnia, the REST Client I was using:

Any help would be appreciated!
Thanks
@phimage commented on GitHub (Sep 12, 2018):
Please read wiki or code
If you give not give the full error...
@Ujjwal-N commented on GitHub (Sep 12, 2018):
@phimage, Sorry about that. Here is the full error code:
@phimage commented on GitHub (Sep 12, 2018):
I do think that it is the full error
There is an error in requestError, see the enum definition
On Wed 12 Sep 2018 at 09:02, Ujjwal-N notifications@github.com wrote:
@Ujjwal-N commented on GitHub (Sep 12, 2018):
@phimage Are you referring to this file:
https://github.com/OAuthSwift/OAuthSwift/blob/master/Sources/OAuthSwiftError.swift ?
@phimage commented on GitHub (Sep 12, 2018):
Yes
You can get the underlyingError or message
On Wed 12 Sep 2018 at 09:09, Ujjwal-N notifications@github.com wrote:
@Ujjwal-N commented on GitHub (Sep 12, 2018):
Why did the request get cancelled? I have no idea. @phimage. Thanks for all your help.
@phimage commented on GitHub (Sep 12, 2018):
/// Request cancelled
is the message of the Error (NSError) ie. underlyingError??
I think it is more verbose, with error code... that just a network error full of information