I am using appwrite oauth with next js 13. And after successful login appwrite is unable to set cookie or credentials. Now when I try to get user it gets an error. But this whole procedure is successful when using the browser that I used to create the appwrite account.
Summary
Title: [SOLVED] OAuth issue with NextJS
Solution: The issue was caused by 3rd party cookies being blocked. To fix it, the user can change their browser settings to allow 3rd party cookies or set domains to make the Appwrite cookie a 1st party cookie. More information can be found at <https://appwrite.io/docs/custom-domains>.
Drake
Jul 9, 2023, 18:56
Your problem is probably 3rd party cookies being blocked. You can try to change your browser settings to allow 3rd party cookies or set domains to make the Appwrite cookie a 1st party cookie
Ankan
Rank 1: Thread
Jul 9, 2023, 19:48
actually was wondering how can we let appwrite set first party cookie