serverless / serverless/examples
aws-node-auth0-custom-authorizers-api safari fetch error
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 11.5k
- Forks
- 4.4k
- Avg merge
- 2h 55m
- Merged PRs (30d)
- 3
Description
Hi, while using Safari 11.0 on my MacOS Sierra 10.12.6 I encountered fetch failures:
column: 24
line: 62
message: "Type error"
sourceURL: "http://auth0-serverless-protected-routes-demo.surge.sh/app.js"
stack: "[native code]↵initializeFetchRequest@[native code]↵[native code]↵fetch@[native code…"
(I can't figure out how to get the complete stack trace in Safari, as I never use it for development, sry)
It might have to do with Safari wanting correct headers.
Contributor guide
No contributing guide indexed for this repository
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
Reproduce the failure in Safari 11 on the Auth0 custom-authorizer example and inspect app.js at line 62, where the fetch error is reported. Check the request headers and browser console details; done means the demo's fetch request works in the stated Safari and macOS environment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, javascript, macos
- Domain
- api, backend, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100