Details
-
Bug
-
Resolution: Cannot Reproduce
-
P2: Important
-
None
-
5.12.6, 5.15.1
-
Deliverable Qt Framework
Version 5.12.6
Platform macOS
OS version 10.15 (Catalina)
Compiler Xcode 10.1
Description
User is using QOAuth2AuthorizationCodeFlow object to connect via oAuth2 to spotify and they are not able to refresh the token when it is expired.
When they get grant they save the refreshtoken(in savedTokenRefresh variable)
and then before each api call do:
spotify.setRefreshToken(savedTokenRefresh); // spotify : QOAuth2AuthorizationCodeFlow spotify.refreshAccessToken();
And in the application output it shows:
[qt.networkauth.oauth2] Cannot refresh access token. Refresh Access Token is
already in progress.
Example project attached.