Empty Session.getAccessTokenPayloadSecurely()
sayhicoelho opened this issue · comments
Renan Coelho commented
Rishabh Poddar commented
Hey.
- For the accessTokenPayload to have some values in it, you need to set it on the backend by overriding the createNewSession function
- When using cookie based auth, the getAccessToken function returns undefined - cause the frontend JS doesn't have access to the access token (since it's httpOnly cookie).
These don't seem to be issues with our SDKs, so closing this issue for now.