mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
[sensorthings] Fix provider does not work with oauth2 config method
The provider was incorrectly retrieving the authcfg id key from the layer URI Fixes #60407
This commit is contained in:
parent
266746a21a
commit
207a57f89e
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user