Replies: 1 comment
-
https://next-auth.js.org/configuration/callbacks Check the session and jwt callbacks |
Beta Was this translation helpful? Give feedback.
0 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 💬
After signing in with Google, it creates a document inside the users collection containing the session object. However, I'd like to access this same document elsewhere in my code (to add data to it), but the name of the document is the userId, and the session object does not contain it. I have no idea how to retrieve this userId.
How to reproduce ☕️
No idea
Contributing 🙌🏽
Yes, I am willing to help answer this question in a PR
Beta Was this translation helpful? Give feedback.
All reactions