-
Notifications
You must be signed in to change notification settings - Fork 45
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
Not working in hybrid output #83
Comments
Same issue here |
+1 Versions: "@auth/core": "^0.32.0",
"astro": "^4.15.6",
"auth-astro": "^4.1.2", npx envinfo
System:
OS: Windows 10 10.0.19045
CPU: (24) x64 AMD Ryzen 9 3900X 12-Core Processor
Memory: 5.97 GB / 15.93 GB
Binaries:
Node: 20.14.0 - C:\dev\apps\nodejs\node.EXE
npm: 10.8.2 - C:\dev\apps\nodejs\npm.CMD |
Same here |
For now, this error does not occur if you follow the workaround in the original issue and just define the I've spent some time deep in the call stack trying to debug what's happening here, but it seems there is a slightly different codepath for endpoints injected by integrations as opposed to those defined by your own files, and at some point in the process, Perhaps I haven't gone much further with this right now so there may be more issues with hybrid mode, but defining the file yourself does at least correctly get the file recognised as server-rendered and the endpoint is getting called succesfully at runtime. |
Even with the addition of
prerender = false
(see #69),auth-astro
does not work withoutput: "hybrid"
:If I modify the output type to
server
, then it starts working.The text was updated successfully, but these errors were encountered: