Appwrite account.get() returns null and session cookie not stored on localhost #10825
Unanswered
sriram26112001
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Problem:
When I call account.get() after login, it returns null.
I also noticed that the session cookie isn’t being stored in the browser.
Setup:
React app running on http://localhost:5173
Appwrite endpoint: https://fra.cloud.appwrite.io/v1
Using OAuth login (Google) with success and failure URLs pointing to localhost
Browser: Chrome, third-party cookies are allowed
What I’ve tried:
Verified success/failure URLs in Appwrite console
Allowed third-party cookies in Chrome
Beta Was this translation helpful? Give feedback.
All reactions