Closed rcauquil closed 2 years ago
ok I fixed it this way:
connectionParams: async () => {
let accessToken = await authPlugin.getThrottledTokenSilently()
return {
headers: {
Authorization: `Bearer ${accessToken}`
}
}
}
Hi, I'm looking for a way to renew the token using subscription when it has expired and connection is lost. Any tips ?