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
- I can't UNPAUSE my project with the free...
I received an email notifying me that my project had been paused due to inactivity, and the email included a link to "Restore project." However, that button red...
- Error trying to deploy functions from CL...
✗ Error • on-auth-create (6a00b2ab000c9ce2949b) • Server Error ✗ Error: No functions were pushed. Prject ID: 69ffe0270033a4ac420a
- Intermittent Deploy and Execution Errors...
Project: project-fra-658e2f5f4ba30df91177 Function ID: 69bde006001c56757f49 **Several execution errors with:** Timed out waiting for runtime.\nError Code: 400...