serverless / serverless/examples

aws-node-auth0-custom-authorizers-api safari fetch error

Open
#203 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.