We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v4.0.1-rc.1
https://codesandbox.io/s/nuxt-apollo-module-token-name-bug-ym7pn
tokenName
per-client
It should create differents cookies per-clients.
Create only one cookie used by all the clients, with the name 'apollo-token'.
The version i'm using is the 4.0.1-rc.5, but it's not present in the list.
4.0.1-rc.5
From the generated file .nuxt/apollo-module.js:
.nuxt/apollo-module.js
const AUTH_TOKEN_NAME = 'apollo-token'; const defaultTokenName = '' || AUTH_TOKEN_NAME; const authTokenName = '' || AUTH_TOKEN_NAME; cookies.set( AUTH_TOKEN_NAME, token, cookieAttributes ); cookies.remove( AUTH_TOKEN_NAME, cookieAttributes );
Every cookie / name is based on the default value and not from the provided tokenName per-client.
cookie / name
The text was updated successfully, but these errors were encountered:
I am seeing the same issue.
PR: #403
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Version
v4.0.1-rc.1
Reproduction link
https://codesandbox.io/s/nuxt-apollo-module-token-name-bug-ym7pn
Steps to reproduce
tokenName
valueper-client
.What is expected ?
It should create differents cookies per-clients.
What is actually happening?
Create only one cookie used by all the clients, with the name 'apollo-token'.
Additional comments?
The version i'm using is the
4.0.1-rc.5
, but it's not present in the list.From the generated file
.nuxt/apollo-module.js
:Every
cookie / name
is based on the default value and not from the providedtokenName
per-client.The text was updated successfully, but these errors were encountered: