[GH-ISSUE #476] Can not get an access token using OAuth1Swift on Twitter. #312

Closed
opened 2026-03-03 16:47:36 +03:00 by kerem · 1 comment
Owner

Originally created by @lenlenlen on GitHub (Jul 8, 2018).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/476

Description:

can not get an access token using OAuth1Swift on Twitter.

Since Twitter started checking Callback, it can not be done (https://goo.gl/5qtH2j)

Callback is the same as the URL scheme of the application set on apps.twitter.com, and the setting is correct.

The error comes out as "The operation could not be completed. (OAuthSwiftError error - 10.)".

OAuth Provider? (Twitter, Github, ..):

Twitter

OAuth Version:

  • [x ] Version 1
  • Version 2

OS (Please fill the version) :

  • iOS :
  • OSX :
  • TVOS :
  • WatchOS :

Installation method:

  • Carthage
  • CocoaPods
  • Manually

Library version:

  • head
  • v1.2.1
  • v1.2 (Swift 4.0)
  • v1.0.0
  • v0.6
  • other: (Please fill in the version you are using.)

Xcode version:

  • 9.4 (Swift 4.1.2)

  • [] 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

Originally created by @lenlenlen on GitHub (Jul 8, 2018). Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/476 ### Description: can not get an access token using OAuth1Swift on Twitter. Since Twitter started checking Callback, it can not be done (https://goo.gl/5qtH2j) Callback is the same as the URL scheme of the application set on apps.twitter.com, and the setting is correct. The error comes out as "The operation could not be completed. (OAuthSwiftError error - 10.)". ### OAuth Provider? (Twitter, Github, ..): Twitter ### OAuth Version: - [x ] Version 1 - [ ] Version 2 ### OS (Please fill the version) : - [x] iOS : - [ ] OSX : - [ ] TVOS : - [ ] WatchOS : ### Installation method: - [x] Carthage - [ ] CocoaPods - [ ] Manually ### Library version: - [x] head - [ ] v1.2.1 - [ ] v1.2 (Swift 4.0) - [ ] v1.0.0 - [ ] v0.6 - [ ] other: (Please fill in the version you are using.) ### Xcode version: - [x] 9.4 (Swift 4.1.2) - [] 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
kerem closed this issue 2026-03-03 16:47:36 +03:00
Author
Owner

@phimage commented on GitHub (Jul 8, 2018):

please make a search on your error
-10 =retain

<!-- gh-comment-id:403271968 --> @phimage commented on GitHub (Jul 8, 2018): please make a search on your error -10 =retain
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#312
No description provided.