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 951a8bf commit b0d8848Copy full SHA for b0d8848
src/core/qfieldcloudconnection.cpp
@@ -587,7 +587,7 @@ void QFieldCloudConnection::setAuthenticationToken( QNetworkRequest &request )
587
configMap["configType"] = 1;
588
configMap["description"] = QString( "Connection details for QFieldCloud using %1 provider" ).arg( mProvider );
589
configMap["extraTokens"] = providerDetails.value( "extra_tokens" ).toMap();
590
- configMap["grantFlow"] = 0;
+ configMap["grantFlow"] = providerDetails.value( "grant_flow" ).toInt();
591
configMap["name"] = QString( "Autogenerated by QField" );
592
configMap["persistToken"] = true;
593
configMap["redirectHost"] = QString( "localhost" );
0 commit comments