I'm using createEmailSession in next-auth function but account.get() not work after it and i want to get user object to return full info
TL;DR
The user is trying to use the `account.get()` function in the NextAuth library, but it is not working after using the `createEmailSession` function. They want to retrieve the user object to return full information. In response, someone suggests manually making the API call and managing the session since the web sdk is meant for client-side usage. The user asks if this information can be found in the documentation. No solution is provided in this support thread.If this is being executed server side, you'll need to manually make the API call and manually manage the session since the web sdk is meant to be used client side where the session is automatically handled by the browser
can i find this in documentation?
Maybe this will help: https://appwrite.io/docs/rest#client-auth
thanks ill try to implement
Recommended threads