Skip to content
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

session object empty on Apollo Server API Route #627

Open
jorgev259 opened this issue Nov 20, 2023 · 0 comments
Open

session object empty on Apollo Server API Route #627

jorgev259 opened this issue Nov 20, 2023 · 0 comments

Comments

@jorgev259
Copy link

jorgev259 commented Nov 20, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant