Opened 14 years ago

Last modified 10 years ago

#8050 closed defect

When using oauth for access to api server imagery requiring username/password will not prompt for user name and password — at Version 6

Reported by: ross@… Owned by: team
Priority: normal Milestone: 16.01
Component: Core imagery Version: latest
Keywords: oauth, imagery, tms, wms, http, basic, auth, authentication, https Cc:

Description (last modified by superduck)

I'm using josm otherwise with imagery that requires a username and password. It works correctly with Authentication set to "Use Basic Authentication". However if I set Authentication to "Use OAuth" it will not prompt for a username and password for the imagery and appears to attempt to connect using oauth, resulting in 401 errors for the imagery (TMS service).

Change History (6)

comment:1 by Don-vip, 14 years ago

Could you please give us your imagery server url? Thanks.

comment:2 by ross@…, 14 years ago

Hi,

This is the imagery url for use in josm preferences TMS.

http://mail65.theinternethost.com.au/other/agri/tiles/{zoom}/{x}/{y}.png

zoom 18

If you download the following url in josm you be within the imagery area. However you would need a username and password, which I will not post here, to see the imagery

http://www.openstreetmap.org/?lat=-17.9575&lon=122.237&zoom=14

It should be sufficient for testing purposes for this bug as the error
occurs before josm requests username and password.

comment:3 by anonymous, 13 years ago

I spent the past 3 days trying to workout why all of the sudden my tms imagery provider is giving me 401s.

This bug still exists today in 5759 when using a tms or wms server over https with basic authentication.

Temp hacky fix: I had to setup a mapproxy server just to hand over the credentials, but for some reason it won't let me zoom past 19.

I inspected its communications with fiddle and no Authorization: Basic <base64> was sent in the request.

comment:4 by anonymous, 13 years ago

I have setup OSM via OAuth through the "semi-automatic" setup.

comment:5 by superduck, 13 years ago

Comments 3 and 4 are mine.

Last edited 13 years ago by superduck (previous) (diff)

comment:6 by superduck, 13 years ago

Component: CoreCore imagery
Description: modified (diff)
Keywords: tms wms http basic auth authentication https added
Note: See TracTickets for help on using tickets.