Configurable token cookie name
We now use cookie with name access_token
in SSR and on the client and we assume that the cookie contains relevant values.
Between sandbox and production (and how the cookie domain
is set), it is not possible to differentiate between cookies for one and the other. This is also problematic when switching to newer versions where old cookies need to be ignored.
Please extract the access token cookie name to a constant and update code that refers to access_token
as cookie name to use this new constant.