-
Notifications
You must be signed in to change notification settings - Fork 36
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
How do you use this properly with Next Auth? #44
Comments
You might have encountered a regression that we had in 0.3.0 - could you please try it with 0.3.1 that I just released? |
@phryneas Sorry, had to switch away from the app folder since there are a lot of issues with plugins. I have a test app i'll test this with later day. |
@phryneas From what I can tell both |
@phryneas An example with next-auth would be useful.
I'm not able to trace back why it was created. |
@Tanish2002 two different things ^^
|
I'm doing some housekeeping so I'm closing some older issues that haven't seen activity in a while. |
Do you have any feedback for the maintainers? Please tell us by taking a one-minute survey. Your responses will help us understand Apollo Client usage and allow us to serve you better. |
I'm trying to figure out how to use this properly with Next Auth. I put what I have below, it does work, but I don't think it's correct and the client side has to keep calling to get the token on each call, which seems wrong. Any suggestions or samples would be incredibly helpful.
layout.tsx
NextAuthProvider
NextSessionProvider
ApolloWrapper
client.ts
The text was updated successfully, but these errors were encountered: