hasura / hasura/graphql-engine

Request ip address is not accessible in action webhook

Open
#8,121 0 comments 0 reactions 0 assignees View on GitHub
k/bug
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

Tested on Hasura 2.1.1

There is no way to access the ip address of the person who made the graphql request from the action webhook. Even enabling the option:

option

Does forward useful headers like `sec-ch-ua`, `x-forwarded-user-agent`, `sec-ch-ua-platform` but does NOT forward anything that contains the requestor ip address.

Contributor guide

Open the contributing guide

Research direction

The issue names Hasura 2.1.1 and action webhooks but no source files, tests, or entry points. Reproduce a GraphQL request that triggers an action webhook and inspect which request headers are forwarded. Done means the webhook can access the originating requester's IP address, with behavior covered by an appropriate test.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.