postmanlabs / postman-app-support

Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.
https://www.postman.com
5.86k stars 840 forks source link

Inherit auth from parent on GraphQL client interface #12048

Open ukjbrown opened 1 year ago

ukjbrown commented 1 year ago

Is there an existing request for this feature?

Is your feature request related to a problem?

When using the HTTP Request interface to issue GraphQL queries, the Authorization settings have an "inherit auth from parent" option which enables the Authorization to be configured at the Collection or Folder level. This is particularly useful for OAUTH2 authorization where the token requires updating regularly.

The GraphQL client interface does not have this option, so the Authorization settings have to be copied across all requests.

Describe the solution you'd like

Replicate the "inherit auth from parent" functionality from the HTTP Request interface to the GraphQL client interface.

Describe alternatives you've considered

Auth has to be copied and updated on every GraphQL request!

Additional context

No response

ukjbrown commented 1 year ago
image
ukjbrown commented 1 year ago
image
SlyDave commented 2 weeks ago

Does fixing this exist on a roadmap anywhere? :(

StevenHallLtd commented 1 week ago

This is disappointing. You can use a variable as a workaround, however.