Back

SSR Session IP

  • 0
  • Self Hosted
  • Web
itai
18 Apr, 2024, 05:40

Hi,

My domain is on Cloudflare and it connected to my SvelteKit App and the user IP passing correctly. I have the Appwrite on another server, but from the AW dashboard all the seesions IP's are of the SvelteKit server. how can I pass the user IP to AW? I know Client have a method client.setForwardedUserAgent is there an option for the same idea for client.setForwardedIP ?

TL;DR
Developers have a setup where the user IP passes correctly from Cloudflare to a SvelteKit App, but Appwrite on another server only sees the SvelteKit server's IP for all sessions. They are looking to pass the user IP to Appwrite. They are wondering if there is an option like `client.setForwardedUserAgent` for setting the forwarded IP.
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