[GH-ISSUE #368] How can I refresh an oauth1 token? #235

Closed
opened 2026-03-03 16:46:56 +03:00 by kerem · 0 comments
Owner

Originally created by @hggz on GitHub (Apr 28, 2017).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/368

Description:

I need to authorize each time the token expires. How can I avoid this? The user experience isn't really ideal with me having to authorize every time I re-run the application.

Is there a convenient way I can use the returned credentials from the authorization flow to achieve this?

OAuth Provider (Twitter, Github, ..):

Tumblr

OAuth Version:

  • Version 1
  • Version 2

OS (Please fill the version) :

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

Installation method:

  • Carthage
  • CocoaPods
  • Manually

Library version:

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

Xcode version:

  • 8.0 (Swift 3.0)

  • 8.0 (Swift 2.3)

  • 7.3.1

  • other: (Please fill in the version you are using.)

  • objective c

Originally created by @hggz on GitHub (Apr 28, 2017). Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/368 ### Description: I need to authorize each time the token expires. How can I avoid this? The user experience isn't really ideal with me having to authorize every time I re-run the application. Is there a convenient way I can use the returned credentials from the authorization flow to achieve this? ### OAuth Provider (Twitter, Github, ..): Tumblr ### 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.0.0 - [ ] v0.6 - [ ] other: (Please fill in the version you are using.) ### 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
kerem closed this issue 2026-03-03 16:46:56 +03:00
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#235
No description provided.