Hi there, I asked a similar question before, sorry in advance. I'm now implementing this self-hosted (will use cloud as soon as 1.5 is released).
How do I initialize an SDK in SSR if I want to use GraphQL? https://appwrite.io/docs/tutorials/nextjs-ssr-auth/step-3
How do I hook onto that createSessionClient to query/mutate?
The GraphQL docs section only shows
const client = new Client()
.setEndpoint('https://cloud.appwrite.io/v1') // Your Appwrite Endpoint
.setProject('<PROJECT_ID>'); // Your project ID
const graphql = new Graphql(client);
But that's for Client SDK. I need to hook on to the Account(client)
account session somehow, right?
Recommended threads
- Different appwrite IDs are getting expos...
File_URL_FORMAT= https://cloud.appwrite.io/v1/storage/buckets/[BUCKET_ID]/files/[FILE_ID]/preview?project=[PROJECT_ID] I'm trying to access files in my web app...
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...
- Error: User (role: guests) missing scope...
I want to send a verification code to the user and the given phone number and check it and create a session right after the user entered the secret. For me that...