mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 12:45:52 +03:00
[GH-ISSUE #405] Getting OAuthSwiftError error -3 or -1 #257
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#257
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 @SergeiKu on GitHub (Sep 2, 2017).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/405
Description:
OAuth Provider (Twitter, Github, ..):
OAuth Version:
OS (Please fill the version) :
Installation method:
Library version:
Xcode version:
[x ] 8.0 (Swift 3.0)
8.0 (Swift 2.3)
7.3.1
other: (Please fill in the version you are using.)
objective c
I am getting OAuthSwiftError error (if allowMissingStateCheck = false)-3 or (if allowMissingStateCheck = true)-1. I am trying to authorize with Microsoft oneDrive. The call back is some-uri://somthing/auth?code=xxxxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxxx and I think it returns the auth code. I have no idea why the errors happen. Please, help.
class SomeClass {
}
@phimage commented on GitHub (Sep 2, 2017):
Errors code : https://github.com/OAuthSwift/OAuthSwift/blob/master/Sources/OAuthSwiftError.swift
Look at configurationError in code for -1
One cause is missing to define accessTokenUrl
@SergeiKu commented on GitHub (Sep 3, 2017):
Thank you, yes, you are right! Closed.