`createAdminClient` is used with oAuth, while `createSessionClient` is utilized for regular sessions. Use `createAdminClient` when implementing oAuth, as detailed in this documentation: https://appwrite.io/docs/tutorials/nextjs-ssr-auth/step-3
👾Rnbsov
4 Aug, 2024, 14:33
and when I should use admin instead of session one?
👾Rnbsov
4 Aug, 2024, 14:34
I saw only that with oAuth, the createAdminClient used