Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error not passed as query string when using custom error page #3205

Closed
0x6c23 opened this issue Nov 15, 2021 · 2 comments
Closed

Error not passed as query string when using custom error page #3205

0x6c23 opened this issue Nov 15, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@0x6c23
Copy link

0x6c23 commented Nov 15, 2021

Description 🐜

When I specify a path as custom error page it will resolve to ?error=undefined#
When I don't use the option it passes the correct error code.

Using version 4.0.0-beta.6

Is this a bug in your own project?

No

How to reproduce ☕️

pages: { error: "/signin", // Error code passed in query string as ?error= },

Screenshots / Logs 📽

No response

Environment 🖥

System:
OS: Windows 10 10.0.19043
CPU: (12) x64 Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
Memory: 15.81 GB / 31.93 GB
Binaries:
Node: 14.17.6 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.10 - ~\AppData\Roaming\npm\yarn.CMD
npm: 6.14.15 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: Spartan (44.19041.1266.0), Chromium (95.0.1020.53)
Internet Explorer: 11.0.19041.1202
npmPackages:
next: 12.0.1 => 12.0.1
next-auth: 4.0.0-beta.6 => 4.0.0-beta.6
react: 17.0.2 => 17.0.2

Contributing 🙌🏽

No, I am afraid I cannot help regarding this

@0x6c23 0x6c23 added the bug Something isn't working label Nov 15, 2021
@0x6c23
Copy link
Author

0x6c23 commented Nov 15, 2021

So sorry, didn't see it! Possible duplicate of #31

@0x6c23
Copy link
Author

0x6c23 commented Nov 15, 2021

Closing already fixed in #3141

@0x6c23 0x6c23 closed this as completed Nov 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant