Modify

Opened 12 years ago

Closed 9 years ago

Last modified 9 years ago

#8050 closed defect (fixed)

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

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).

Attachments (0)

Change History (9)

comment:1 by Don-vip, 12 years ago

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

comment:2 by ross@…, 12 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, 12 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, 12 years ago

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

comment:5 by superduck, 12 years ago

Comments 3 and 4 are mine.

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

comment:6 by superduck, 12 years ago

Component: CoreCore imagery
Description: modified (diff)
Keywords: tms wms http basic auth authentication https added

in reply to:  6 comment:7 by superduck, 12 years ago

Replying to superduck:
Description wasn't modified (diff is empty)

comment:8 by simon04, 9 years ago

Resolution: fixed
Status: newclosed

In 9313/josm:

fix #8050 - Make OSM API OAuth and imagery HTTP authentication work

Fix: When using OAuth for access to API server, imagery requiring username/password will not prompt for username and password

comment:9 by simon04, 9 years ago

Milestone: 16.01

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.