hasura / hasura/graphql-engine
[Auth] Pass custom headers returned from auth webhook/jwt to remote schemas
Open
k/enhancement
t/gql-services
v2
- Dominant language
- TypeScript
- Stars
- 32.1k
- Forks
- 3k
- PR merge metrics
- PR metrics pending
Description
I want to get all the headers returned from auth webhook/jwt in the remote schema. So that I want have to re-do same auth logic in the remote schema.
### Describe the solution you'd like
Provide a flag e.g. `HASURA_GRAPHQL_AUTH_HOOK_FORWARD_HEADERS` to allow user to enable this feature.
Contributor guide
Research direction
No files, tests, or entry points are identified in the issue. Start by locating the auth webhook/JWT handling and remote schema request forwarding, then determine how the proposed HASURA_GRAPHQL_AUTH_HOOK_FORWARD_HEADERS flag should control forwarding and how completion should be tested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql
- Domain
- api, authentication
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100