You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I try to login with Facebook it works fine when successfully authenticated, but when it fails to authenticate it gives me that headers are sent although I do what docs say, so I am not sure exactly if the problem is from me because the app is fully crashed after the error.
How to reproduce ☕️
0|npm | Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
0|npm | at new NodeError (node:internal/errors:371:5)
0|npm | at ServerResponse.setHeader (node:_http_outgoing:576:11)
0|npm | at ServerResponse.res.redirect (/home/cryptocurrencies/node_modules/next-auth/dist/server/lib/extend-res.js:39:21)
0|npm | at Object.callback (/home/cryptocurrencies/node_modules/next-auth/dist/server/routes/callback.js:156:18)
0|npm | at runMicrotasks (<anonymous>)
0|npm | at processTicksAndRejections (node:internal/process/task_queues:96:5) {
0|npm | code: 'ERR_HTTP_HEADERS_SENT'
0|npm | }
questionAsk how to do something or how something works
1 participant
Converted from issue
This discussion was converted from issue #3573 on January 07, 2022 23:52.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Question 💬
when I try to login with Facebook it works fine when successfully authenticated, but when it fails to authenticate it gives me that headers are sent although I do what docs say, so I am not sure exactly if the problem is from me because the app is fully crashed after the error.
How to reproduce ☕️
Contributing 🙌🏽
No, I am afraid I cannot help regarding this
Beta Was this translation helpful? Give feedback.
All reactions