Azure / Azure/Azure-Functions

Introduce a method to retrieve client IP address easily

Open
#1,597 4 comments 16 reactions 1 assignee Claimed by @v-bbalaiagar View on GitHub
feature
Dominant language
PowerShell
Stars
1.1k
Forks
215
Avg merge
4h 2m
Merged PRs (30d)
1

Description

Getting the client IP address is not trivial. It'd be great if you could expose functionality to retrieve IP address information easily. I frequently log this info for every API request. I'm not sure if reading `X-Forwarded-For` will always be supported.

https://stackoverflow.com/questions/37582553/how-to-get-client-ip-address-in-azure-functions-c

Looking at the answers, it's clear that IP address retrieval is pretty messy.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.