We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4be73d3 commit 6adc805Copy full SHA for 6adc805
Sources/Flows/OAuth2.swift
@@ -378,6 +378,9 @@ open class OAuth2: OAuth2Base {
378
throw OAuth2Error.generic("Failed with status \(response.response.statusCode)")
379
}
380
self.logger?.debug("OAuth2", msg: "Did use refresh token for access token [\(nil != self.clientConfig.accessToken)]")
381
+ if (self.useKeychain) {
382
+ self.storeTokensToKeychain()
383
+ }
384
callback(json, nil)
385
386
catch let error {
0 commit comments