Right now, I cannot figure out how to get the X-Forwarded-For and [insert the header my proxy uses for specifically the client's ip here] headers when the function is called with functions.createExecution. Is there any way I can get the client IP when the function is created from createExecution rather than a regular http request? And is there any way I can specify which headers should just be passed through to the function from the original request (that are added by my proxy)?
As of now, the client can just say "yeah my ip is 1.2.3.4" when its actually 2.3.4.5 (example ips ofc) by simply calling createExecution with those headers - or it can just pretend not to have an IP. I'm not sure how I should fix this.
Recommended threads
- Gitlab function automation
Im trying to automate my function deployment using gitlabs ci/cd pipeline. Im currently failing trying to use the appwrite cli to create a new deployment. ```...
- SSL for SaaS
Hi everyone 👋 I'm building a website builder SaaS using Appwrite Cloud Functions My architecture relies on users connecting their own custom domains via CNAME...
- Create file is listing files instead of ...
This is a bit strange but, I cannot create files from within a funcion. I have tested with latest SDKs versions of node and python, both instead of creating the...