#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: | 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 )
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 , 12 years ago
comment:2 by , 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 , 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.
follow-up: 7 comment:6 by , 12 years ago
Component: | Core → Core imagery |
---|---|
Description: | modified (diff) |
Keywords: | tms wms http basic auth authentication https added |
comment:9 by , 9 years ago
Milestone: | → 16.01 |
---|
Could you please give us your imagery server url? Thanks.