gabrielius7369
08/04/2022, 11:05 AMupdateAccessTokenPayload
to update the the session payload and it shows the new roles when I check the JWT cookie sAccessToken
in the browser. However when I run await Session.getAccessTokenPayloadSecurely()
in a Next.js frontend, I still get the old values even when I see the new cookie. It only seems to update when I log out and back in and a brand new session being generated. Does this function take the values directly from the cookies or somewhere else?rp_st
08/04/2022, 11:23 AMupdateAccessTokenPayload
from the backend, as long as you have applied our frontend interceptor when making the API call. So please check that the interceptor has been applied.gabrielius7369
08/04/2022, 2:56 PMrp_st
08/04/2022, 2:57 PM