
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.

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

actually was wondering how can we let appwrite set first party cookie

See https://appwrite.io/docs/custom-domains.
Keep in mind, this will only work client side because your server side won't have the cookie

Hmmm got it

Actually this way it worked out. And thank you very much for the help😊😊

[SOLVED] OAuth issue with NextJS
Recommended threads
- Unable to create push providers - FCM or...
Currently unable to create a push provider for FCM or APNS.... https://github.com/appwrite/console/issues/2045 When uploading a file... FCM = Valid file retu...
- Stuck in "deleting"
my parent element have relationship that doesnt exist and its stuck in "deleting", i cant delete it gives me error: Collection with the requested ID could not b...
- Help with 409 Error on Relationship Setu...
I ran into a 409 document_already_exists issue. with AppWrite so I tried to debug. Here's what I've set up: Collection A has 3 attributes and a two-way 1-to-m...
