*ClientSide* ``` const wsClient = new Subscriptio...
# prisma-whats-new
x
ClientSide
Copy code
const wsClient = new SubscriptionClient(SUB_ENDPOINT, {
      reconnect: true,
      timeout: 30000, 
      connectionParams: {
   
         token : JSON.parse(localStorage.getItem('token')),
       
        

      }
    })
ServerSide
Copy code
onConnect: (connectionParams, webSocket) => {
      if (connectionParams) {
       console.log( connectionParams)
..................................
As soon as i refresh my client app, it always return me the last one, and not the new token after the login? Can someone explain it to me?
n
noone can without seeing your code. I recommend starting a new discussion here: https://www.graph.cool/forum/c/questions