[openstreetmap/openstreetmap-website] Allow getting a GPX in the browser outside openstreetmap.org (Issue #5639)
Harel M
notifications at github.com
Sun Feb 9 19:38:48 UTC 2025
### Problem
My site (and app) are uploading the recording to OSM by default to enrich OSM with the data people are collecting.
I would like to avoid the need to go through my backend to fetch a GPX file (private one).
Currently the api returns a 302 redirect, which can't be handled by the browser since there's an authentication header needed in order to get the route (OAuth 2).
### Description
I would like to get the GPX trace in the browser outside openstreetmap.org using the OSM api endpoint to allow seeing it, editing it if needed and share it with other people outside the OSM website.
The API exists, but since there's a redirect there, it's impossible to fetch it in the browser without going through a proxy...
### Screenshots

--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/5639
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/5639 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250209/6714a5bc/attachment-0001.htm>
More information about the rails-dev
mailing list