apollo icon indicating copy to clipboard operation
apollo copied to clipboard

Set AuthType for the specified client, but it receive null

Open naremloa opened this issue 1 year ago • 0 comments

Environment

"@nuxtjs/apollo": "5.0.0-alpha.8"

Describe the bug

I tried to set the authType for the specified client. like this

// nuxt.config.ts
{
apollo: {
    clients: {
      default: {
        authType: 'Bearer',
        authHeader: 'Authorization',
        tokenStorage: 'cookie',
        tokenName: 'apollo:default.token',
        httpEndpoint: ...
      },
    },
  },
}

But the final setting I checked is null.

Expected behaviour

It should be the value what i set in the config file

Reproduction

No response

Additional context

No response

Logs

No response

naremloa avatar Nov 15 '23 17:11 naremloa