Skip to content
Back

Add setForwardedIP() method to Client SDK for SSR scenarios

  • 0
  • 4
  • Web
  • Cloud
Alex Bourg
10 Nov, 2025, 00:46

Hi team, I request this feature https://github.com/appwrite/appwrite/issues/10788

TypeScript
const client = new Client()
  .setEndpoint(endpoint)
  .setProject(projectId)
  .setKey(apiKey)
  .setForwardedUserAgent(userAgent) // ✅ exists
  .setForwardedIP(clientIP);        // ❌ missing
TL;DR
Title: Request to add setForwardedIP() method to Client SDK for SSR scenarios OP created a PR on GitHub for the addition of setForwardedIP() method. Asking for feedback and clarification on implementation steps.
10 Nov, 2025, 03:26

all authentication requests show the server's IP address instead of the actual client IP. This breaks rate limiting, abuse detection, and security audit logs.

good news! appwrite auth automatically handles rate limiting and abuse detection for you

10 Nov, 2025, 12:31

Hi Chirag, thanks for your answer, but it's a bit irrelevant to the proposal because I am using appwrite auth already

10 Nov, 2025, 15:53

<@564158268319203348> <@462046107556511744> https://github.com/appwrite/appwrite/pull/10796

14 Nov, 2025, 13:23

<@462046107556511744> what do you think about this? I created a PR, do you have to assign the issue to me in order to be implemented? also should I update the SDK to support this change or will you take care of it?

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