Skip to content

Commit

Permalink
Merge pull request #60425 from qgis/backport-60419-to-release-3_40
Browse files Browse the repository at this point in the history
[Backport release-3_40] [sensorthings] Fix provider does not work with oauth2 config method
  • Loading branch information
alexbruy authored Feb 5, 2025
2 parents 1f0d982 + aed7be6 commit 7c78e08
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@ QgsSensorThingsSharedData::QgsSensorThingsSharedData( const QString &uri )
mGeometryType = Qgis::WkbType::NoGeometry;
}

QgsDataSourceUri dsUri;
dsUri.setEncodedUri( uri );
const QgsDataSourceUri dsUri( uri );
mAuthCfg = dsUri.authConfigId();
mHeaders = dsUri.httpHeaders();

Expand Down

0 comments on commit 7c78e08

Please sign in to comment.