Back

auth provider cookie

  • 0
  • Self Hosted
  • Auth
  • Web
husamnas
20 Nov, 2024, 17:44

Hello All, After I successfully creating session by google i cant get session or token from other domain in backend For example frontend in example.com and Appwrite in api.example.net

So in cookie it come in domain .api.example.net And can’t get session or even to get the token Can you help please 🙏

TL;DR
After creating a session with Google, developers are unable to retrieve the session or token from another backend domain. The issue seems to be related to the cookie domain. Solution: Check and adjust the cookie domain settings to allow session and token retrieval across different domains.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more