Hi Richard usually would be triggered by the signal
http://doc.qt.io/qt-4.8/qnetworkaccessmanager.html#authenticationRequired signal and listeners are registered here: https://qgis.org/api/qgsnetworkaccessmanager_8cpp_source.html#l00297 cheers Luigi Pirelli ************************************************************************************************** * Boundless QGIS Support/Development: lpirelli AT boundlessgeo DOT com * LinkedIn: https://www.linkedin.com/in/luigipirelli * Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli * GitHub: https://github.com/luipir * Mastering QGIS 2nd Edition: * https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition ************************************************************************************************** On 29 November 2016 at 08:23, Richard Duivenvoorde <[email protected]> wrote: > On 29-11-16 00:51, Phil (The Geek) Wyatt wrote: >> >> Hi Folks, >> >> Is there anyone out there that can assist with a QGIS authentication >> issue? I am trying to get basic authentication working but it seems to >> be failing all the time. If someone has used authentication recently I >> can supply the site details for testing. > > > Hi Devs (moving this to dev list), > > I tested the geojson url of Phil, and if I provide username and password IN > the url like below it works: > > https://username:password@server/api/reports/sample/addresses/geojson > > But without the username/password in the url, QGIS does not provide any > authentication dialogs or so. > > Is the api missing a header which QGIS needs to know there is authentication > on it? > > Or how is QGIS triggered to show authentication dialogs when provided basic > authentication on a 'protocol'-vector layer? > > Regards, > > Richard Duivenvoorde > > _______________________________________________ > Qgis-developer mailing list > [email protected] > List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer _______________________________________________ Qgis-developer mailing list [email protected] List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
