You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some cases, the policies defined in this configuration may be overridden by policies specified by an NSURLRequest object provided for a task. Any policy specified on the request object is respected unless the session’s policy is more restrictive.
In this case the OAuthSwiftHTTPRequest instantiates it's Config object which has a default timeoutInterval set to 60.
Changing the URLSession's configuration's timeoutIntervalForRequest does not seem to be able to override this.
OAuth Provider? (Twitter, Github, ..):
Custom - using our own Identity Server
OAuth Version:
Version 1
Version 2
OS (Please fill the version) :
iOS :
OSX :
TVOS :
WatchOS :
Installation method:
Carthage
CocoaPods
Swift Package Manager
Manually
Library version:
head
v2.1.0
v2.0.0
v1.4.1
other: (v2.2.0)
Xcode version:
11.4 (Swift 5.2)
11.x (Swift 5.1)
10.x (Swift 5.0)
other: (Xcode 12.5.1, Swift 5.4)
objective c
The text was updated successfully, but these errors were encountered:
Description:
Using OAuth2Swift startAuthorizedRequest there is no way to override the requestTimeout. Although we can override the sessions timeout via:
This will be overridden by the actual URLRequest's timeoutInterval used as, from Apple, https://developer.apple.com/documentation/foundation/urlsessionconfiguration:
In this case the
OAuthSwiftHTTPRequest
instantiates it'sConfig
object which has a default timeoutInterval set to 60.Changing the URLSession's configuration's timeoutIntervalForRequest does not seem to be able to override this.
OAuth Provider? (Twitter, Github, ..):
Custom - using our own Identity Server
OAuth Version:
OS (Please fill the version) :
Installation method:
Library version:
Xcode version:
The text was updated successfully, but these errors were encountered: