punycode every time interacting with "/api/auth/[...all]"

18 Replies
Jeremy
JeremyOP11mo ago
package.json
Jeremy
JeremyOP11mo ago
@Ali Alnaghmoush @kKk333 have any of you found out yet? Didn’t find any helpful replies anywhere to yall
No description
kWAY
kWAY11mo ago
nope
Jeremy
JeremyOP11mo ago
damn rip its acc so annoying Keeps spamming my logs
bekacru
bekacru11mo ago
will take a look
Jeremy
JeremyOP11mo ago
❤️
Kazz
Kazz10mo ago
Same problem, thought it was nodejs problem at first but i think maybe its because one of the dependencies used by better-auth.
No description
Jeremy
JeremyOP10mo ago
Nah it definitely started when we migrated next-auth to better-auth 100% Seems to be something related to the plugins looking at this stack trace
bekacru
bekacru10mo ago
try 1.0.14 and let me know if the issue persist or not
Jeremy
JeremyOP10mo ago
yeah still there
No description
Jeremy
JeremyOP10mo ago
getting the stack trace for ya
Jeremy
JeremyOP10mo ago
bekacru
bekacru10mo ago
override whatwg-url version. It's not direct dep for better auth and couldn't figure what actually depends on it. but for now you can do
"overrides": {
"whatwg-url": "^14.0.0"
}
"overrides": {
"whatwg-url": "^14.0.0"
}
Jeremy
JeremyOP10mo ago
that fixed it lol
Jeremy
JeremyOP10mo ago
so clean now
No description
Jeremy
JeremyOP10mo ago
node-fetch uses it thats for certain kinda sucks to see an override in the package.json again tho haha just got rid of my last three since react 19 is now stable
bekacru
bekacru10mo ago
I think it's just node-fetch. better auth may have triggered it when it tries to initiate the fetch client or something, you can also disable node warning NODE_NO_WARNINGS=1
Jeremy
JeremyOP10mo ago
awesome

Did you find this page helpful?