-
I have an OpenAPI schema that sits behind an authorization service that takes a bearer token. Is there any way of providing an initial bearer token for Graphql-Mesh to pass to get this schema? |
Beta Was this translation helpful? Give feedback.
Answered by
santino
Aug 11, 2021
Replies: 2 comments
-
Yes you can use schemaHeaders to provide the headers needed to fetch the openapi schema |
Beta Was this translation helpful? Give feedback.
0 replies
-
@Ivan-Z, have a look here: https://www.graphql-mesh.com/docs/handlers/openapi#dynamic-header-values |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Ivan-Z
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@Ivan-Z, have a look here: https://www.graphql-mesh.com/docs/handlers/openapi#dynamic-header-values