Open
Description
Environment
"react": "18.2.0",
"next-auth": "5.0.0-beta.22",
"next": "^14.2.15",
Reproduction URL
https://github.com/yasuomang/next-auth-bug
Describe the issue
I checked the source code and found that there's an issue with this URL.
How to reproduce
- Click the expired magic link
- Click signin button
Expected behavior
Just link to /auth/signin or pages: { signIn: "http://localhost:3000/signin", }
, if I set the pages.
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
xgbnl commentedon Mar 8, 2025
你的auth.js里的pages路径要置为绝对路径才行,有i18n国际化要加:lang
yasuomang commentedon Mar 10, 2025
我不配置pages,使用默认的配置也是有问题的呢。应该是代码的bug
xgbnl commentedon Mar 10, 2025
没这么玩,有错误,我直接抛异常在登录页用弹窗展示