Home > Mobile >  How to use Graphiql when graphql protected?
How to use Graphiql when graphql protected?

Time:09-27

I have added the token to the properties file, yet unable to get the resource, and in request header there is no authorization, do I need to add any extra properties

graphiql:
    mapping: /graphiql
    endpoint:
      graphql: /graphql
      subscriptions: /subscriptions
    subscriptions:
      timeout: 30
      reconnect: false
    basePath: /
    headers:
      Authorization: "Bearer eyJraWQiOiJvMW5

CodePudding user response:

Add Authentication header in JSON format in the UI itself, refer the below imageAuthentication

  • Related