-
Have a simple graphql endpoint configured like this: sources:
- name: service
handler:
graphql:
endpoint: https://service.example.com/v1/graphql
# operationHeaders:
# "X-API-Key": "${API_KEY}"
# schemaHeaders:
# "X-API-Key": "${API_KEY}" We used api key so far and it was working. However need to setup JWT token authentication and struggling a bit with getting introspection to work. Need to retrieve a token from idp and insert it into headers used during introspection but cannot find a way to do it. Only possibility I see at the moment is to modify the config after calling |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Beta Was this translation helpful? Give feedback.
schemaHeaders
belongs to introspection calls whileoperationHeaders
belongs to the operations. Didn't that work?