mapbox / mapbox/mapbox-gl-geocoder
Supply referrer in API requests
Open
Nobody has claimed this yet.
auto-triaged
bug
- Dominant language
- JavaScript
- Stars
- 388
- Forks
- 181
- PR merge metrics
- No merged PRs in 30d
Description
domain-restricted API tokens need a referrer URL to work properly. Safari 12.1.0 currently throws a `403: Forbidden` without one.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing where the geocoder constructs requests to the Mapbox Geocoding API and reproduce the failure with a domain-restricted token in Safari 12.1.0. Done means API requests supply a referrer URL and no longer receive a 403 response.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100