iron-session icon indicating copy to clipboard operation
iron-session copied to clipboard

session object empty on Apollo Server API Route

Open jorgev259 opened this issue 1 year ago • 0 comments

Trying to get Server Actions working with my current setup which uses Apollo Server integrated into a NextJS API Route. I can see the cookie being created on the browser, but pressing the Login button a second time and logging the session object still comes out empty.

Made a repo that shows the corresponding problem. https://github.com/jorgev259/next-apollo-iron-test

jorgev259 avatar Nov 20 '23 16:11 jorgev259