Re: [Qgis-user] Assistance with Basic Authentication

2016-12-03 Thread Phil (The Geek) Wyatt
Hi Folks,

I am still really keen to get a resolution to this issue if anyone can provide 
more leads or quotes to get authentication working with geojson.

Cheers - Phil

-Original Message-
From: Nyall Dawson [mailto:nyall.daw...@gmail.com] 
Sent: Wednesday, November 30, 2016 10:51 AM
To: Larry Shaffer
Cc: Phil (The Geek) Wyatt; QGIS User List
Subject: Re: [Qgis-user] Assistance with Basic Authentication

On 30 November 2016 at 04:25, Larry Shaffer  wrote:
> Hi Phil,
>
> Does your endpoint prompt an HTTP Basic username/password dialog when 
> connecting to it via a Web browser? If not, then your server may not 
> be sending the correct challenge:
>
> https://www.w3.org/Protocols/HTTP/1.0/spec.html#BasicAA

Larry,

Is the authentication system supported by the OGR provider? I couldn't see 
anywhere in the provider itself where this is handled.

Nyall


>
> Regards,
>
> Larry Shaffer
> Dakota Cartography
> Black Hills, South Dakota
>
> On Mon, Nov 28, 2016 at 4:51 PM, 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.
>>
>>
>>
>>
>>
>> Cheers - Phil
>>
>>
>>
>> Kiva Lender, Thin Green Line Supporter, Volunteer Mapper (GISMO) - 
>> Red Cross, Wildcare Volunteer
>>
>>
>>
>>
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Assistance with Basic Authentication

2016-12-03 Thread Larry Shaffer
Hi Nyall,

(reposting, because I noticed I only replied to you directly before)

On Tue, Nov 29, 2016 at 4:50 PM, Nyall Dawson 
wrote:

> On 30 November 2016 at 04:25, Larry Shaffer 
> wrote:
> > Hi Phil,
> >
> > Does your endpoint prompt an HTTP Basic username/password dialog when
> > connecting to it via a Web browser? If not, then your server may not be
> > sending the correct challenge:
> >
> > https://www.w3.org/Protocols/HTTP/1.0/spec.html#BasicAA
>
> Larry,
>
> Is the authentication system supported by the OGR provider? I couldn't
> see anywhere in the provider itself where this is handled.
>

Indeed, it is not. I think to support that we would need to incorporate the
auth selector dialog into all layer property dialogs, as well as any access
point  or API call to GDAL/OGR data. There is no 'connection configuration'
dialog like there is with OWS and Postgres.

Larry Shaffer
Dakota Cartography
Black Hills, South Dakota


>
> Nyall
>
>
> >
> > Regards,
> >
> > Larry Shaffer
> > Dakota Cartography
> > Black Hills, South Dakota
> >
> > On Mon, Nov 28, 2016 at 4:51 PM, 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.
> >>
> >>
> >>
> >>
> >>
> >> Cheers - Phil
> >>
> >>
> >>
> >> Kiva Lender, Thin Green Line Supporter, Volunteer Mapper (GISMO) - Red
> >> Cross, Wildcare Volunteer
> >>
> >>
> >>
> >>
> >> ___
> >> Qgis-user mailing list
> >> Qgis-user@lists.osgeo.org
> >> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> >> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
> >
> >
> >
> > ___
> > Qgis-user mailing list
> > Qgis-user@lists.osgeo.org
> > List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> > Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Assistance with Basic Authentication

2016-12-03 Thread Larry Shaffer
Hi Phil,

Contact me directly with the connection info and I will see what's needed
or missing from the auth system API.

Regards,

Larry Shaffer
Dakota Cartography
Black Hills, South Dakota

On Sat, Dec 3, 2016 at 6:11 PM, Phil (The Geek) Wyatt  wrote:

> Hi Folks,
>
> I am still really keen to get a resolution to this issue if anyone can
> provide more leads or quotes to get authentication working with geojson.
>
> Cheers - Phil
>
> -Original Message-
> From: Nyall Dawson [mailto:nyall.daw...@gmail.com]
> Sent: Wednesday, November 30, 2016 10:51 AM
> To: Larry Shaffer
> Cc: Phil (The Geek) Wyatt; QGIS User List
> Subject: Re: [Qgis-user] Assistance with Basic Authentication
>
> On 30 November 2016 at 04:25, Larry Shaffer 
> wrote:
> > Hi Phil,
> >
> > Does your endpoint prompt an HTTP Basic username/password dialog when
> > connecting to it via a Web browser? If not, then your server may not
> > be sending the correct challenge:
> >
> > https://www.w3.org/Protocols/HTTP/1.0/spec.html#BasicAA
>
> Larry,
>
> Is the authentication system supported by the OGR provider? I couldn't see
> anywhere in the provider itself where this is handled.
>
> Nyall
>
>
> >
> > Regards,
> >
> > Larry Shaffer
> > Dakota Cartography
> > Black Hills, South Dakota
> >
> > On Mon, Nov 28, 2016 at 4:51 PM, 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.
> >>
> >>
> >>
> >>
> >>
> >> Cheers - Phil
> >>
> >>
> >>
> >> Kiva Lender, Thin Green Line Supporter, Volunteer Mapper (GISMO) -
> >> Red Cross, Wildcare Volunteer
> >>
> >>
> >>
> >>
> >> ___
> >> Qgis-user mailing list
> >> Qgis-user@lists.osgeo.org
> >> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> >> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
> >
> >
> >
> > ___
> > Qgis-user mailing list
> > Qgis-user@lists.osgeo.org
> > List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> > Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Assistance with Basic Authentication

2016-11-29 Thread Nyall Dawson
On 30 November 2016 at 04:25, Larry Shaffer  wrote:
> Hi Phil,
>
> Does your endpoint prompt an HTTP Basic username/password dialog when
> connecting to it via a Web browser? If not, then your server may not be
> sending the correct challenge:
>
> https://www.w3.org/Protocols/HTTP/1.0/spec.html#BasicAA

Larry,

Is the authentication system supported by the OGR provider? I couldn't
see anywhere in the provider itself where this is handled.

Nyall


>
> Regards,
>
> Larry Shaffer
> Dakota Cartography
> Black Hills, South Dakota
>
> On Mon, Nov 28, 2016 at 4:51 PM, 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.
>>
>>
>>
>>
>>
>> Cheers - Phil
>>
>>
>>
>> Kiva Lender, Thin Green Line Supporter, Volunteer Mapper (GISMO) - Red
>> Cross, Wildcare Volunteer
>>
>>
>>
>>
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Assistance with Basic Authentication

2016-11-29 Thread Larry Shaffer
Hi Phil,

Does your endpoint prompt an HTTP Basic username/password dialog when
connecting to it via a Web browser? If not, then your server may not be
sending the correct challenge:

https://www.w3.org/Protocols/HTTP/1.0/spec.html#BasicAA

Regards,

Larry Shaffer
Dakota Cartography
Black Hills, South Dakota

On Mon, Nov 28, 2016 at 4:51 PM, Phil (The Geek) Wyatt <
p...@wyatt-family.com> 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.
>
>
>
>
>
> Cheers - Phil
>
>
>
> Kiva Lender , Thin Green Line
> Supporter , Volunteer Mapper (GISMO) - Red
> Cross , Wildcare Volunteer
> 
>
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Assistance with Basic Authentication

2016-11-28 Thread Richard Duivenvoorde

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-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user