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
At first time all good, after we kill the app and relaunch every-time its asking for authorisation. Is there any way to re-authorise by having the previous token ?
Tried :
public func refreshAccessToken(_ refreshToken: String, result: @escaping AuthorizationHandler) {}
But not getting the result of OAuthToken
The text was updated successfully, but these errors were encountered:
StravaClient.sharedInstance.refreshAccessToken(sRefreshToken) { result in
switch result {
case .success(let token):
let accessToken = token.accessToken
let refreshToken = token.refreshToken
case .failure(let error):
debugPrint(error)
}
}
At first time all good, after we kill the app and relaunch every-time its asking for authorisation. Is there any way to re-authorise by having the previous token ?
Tried :
public func refreshAccessToken(_ refreshToken: String, result: @escaping AuthorizationHandler) {}
But not getting the result of OAuthToken
The text was updated successfully, but these errors were encountered: