graphql / graphql/dataloader

[REQUEST]: How to pass auth headers to dataloader

Open
#316 5 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
13.4k
Forks
518
Avg merge
2d 4h
Merged PRs (30d)
2

Description

## What problem are you trying to solve?
I have one API which takes an array of id's and returns the array of records. This API endpoint accepts auth headers for user authentication. Now the issue is while using data loader I am getting multiple auth headers from different resolvers. So how to authenticate these multiple auth tokens, as in the end data loader will pass only one auth token to the API end point.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.