NextJS GET request for the _error page denied when using basic auth in Internet Explorer #10709
Unanswered
jfarris587
asked this question in
Help
Replies: 1 comment
-
Looks strange! Could you create a minimal repository that we can investigate on? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
All browsers (including Microsoft Edge) work, except for Internet Explorer when navigating an
_error
page. If a user tries to navigate to a route that is not supportedlocalhost:3000/banana
then nextJS will call_error
to render the page. However, in IE, this fails. Console will error the following:The problem
This only happens when using basic auth. So looking into the Network logs I find that the GET request to
_error
is denied and a 401 response is sent.However, this only happens for the error page, not for any other page in nextJS. Looking at what happens when loading any other page, this is the result - one GET request that is a 401, and then another immediately after that is successful.
Like the request for
_error
page, the first request contained no Authorization in the header, but the successful request did have it.Beta Was this translation helpful? Give feedback.
All reactions