Replies: 1 comment 8 replies
-
You probably don't want to do that. you should scope the cookies for the same site. (that is the default behaviour for next-auth) I'm curious what's the usecase? |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Question 💬
I have a nextjs application using next-authjs and the github provider. I've successfully logged in and I see my cookies are being set. When i send requests to a next api route I see the cookies are sent in the request header. However, when i send requests to a route at localhost:4000 the cookies are not being sent in the header. What can I do to include them with every request?
How to reproduce ☕️
This is my current nextauth config:
Contributing 🙌🏽
No, I am afraid I cannot help regarding this
Beta Was this translation helpful? Give feedback.
All reactions