Skip to content

Manage NextJS apollo session. #1193

Answered by michaelbromley
tjennt asked this question in Q&A
Discussion options

You must be logged in to vote

The basic problem is that the session token is not being correctly communicated. If you are using the "cookie" method (which is the default), then you might be running into sameSite cookie issues (if so, you should see a warning in your browser console).

If you are using the "bearer" method, you need to do some work on your client side to handle the bearer token and include it in all requests once you receive it.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@tjennt
Comment options

@HarunKilic
Comment options

Answer selected by tjennt
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants