I'm working on implementing OAuth authentication in my Next.js application using Appwrite as the backend
Technical Environment:
Next.js (lastest)
Appwrite (lastest)
Authentication Type: OAuth (provider: Google/GitHub/etc.)
Node-appwrite/appwrite
The problem is that node-appwrite doest have oauth logun and I want to store the cookies as well I want to use react-query to store user data
Summary
Developers are seeking assistance in implementing OAuth Authentication with Appwrite in a Next.js 15 application, including SSR and Cookies.
To address the issue of storing OAuth cookies, a relevant code snippet was provided which involves setting up a callback for OAuth redirect to obtain the session and store it in the cookie.
Furthermore, there was mention of working with OAuth in Next.js SSR, using Appwrite Cloud, and being a Pro user. For Node-appwrite OAuth login assistance, a resource link was shared.
Solution: The key challenge is obtaining the token when using Appwrite Cloud as a Pro user and how to store OAuth cookies. The tutorial linked