HHChift
03/16/2023, 11:19 AMrp_st
03/16/2023, 11:46 AMrp_st
03/16/2023, 11:46 AMHHChift
03/16/2023, 12:08 PMHHChift
03/16/2023, 12:08 PMawait req.session.mergeIntoAccessTokenPayload({
currAccountId: newAccount,
currEnvId: defaultEnvId,
});
await req.session.fetchAndSetClaim(UserRoleClaim, {
session: req.session,
});
await req.session.fetchAndSetClaim(PermissionClaim, {
session: req.session,
});
rp_st
03/16/2023, 12:15 PMrp_st
03/16/2023, 12:15 PMHHChift
03/16/2023, 12:26 PMHHChift
03/16/2023, 12:27 PMrp_st
03/16/2023, 12:27 PMrp_st
03/16/2023, 12:27 PMHHChift
03/16/2023, 12:32 PMHHChift
03/16/2023, 12:32 PMHHChift
03/16/2023, 12:33 PMrp_st
03/16/2023, 12:33 PMrp_st
03/16/2023, 12:33 PMrp_st
03/16/2023, 12:33 PMHHChift
03/16/2023, 12:34 PMHHChift
03/16/2023, 12:35 PMHHChift
03/16/2023, 12:35 PMrp_st
03/16/2023, 12:36 PMHHChift
03/16/2023, 12:37 PMrp_st
03/16/2023, 12:38 PMreq.session.getAccessTokenPayload()
between each of the session updates you do? What is the output?rp_st
03/16/2023, 12:40 PMHHChift
03/16/2023, 12:42 PM{
currAccountId: '85b00a63-8597-4f1e-850e-d84f6831ad44'
}
-> merge
{
currAccountId: '00fc1383-b743-4c9c-8cd6-a90a3dc811e0'
}
second time:
{
currAccountId: '00fc1383-b743-4c9c-8cd6-a90a3dc811e0'
}
-> merge
{
currAccountId: '00fc1383-b743-4c9c-8cd6-a90a3dc811e0'
}
HHChift
03/16/2023, 12:43 PMHHChift
03/16/2023, 12:43 PMrp_st
03/16/2023, 12:43 PMporcellus
03/16/2023, 12:44 PMUserRoleClaim
and PermissionClaim
didn't appear in there, they should be there if they have a valueHHChift
03/16/2023, 12:44 PMHHChift
03/16/2023, 12:44 PMHHChift
03/16/2023, 12:47 PMHHChift
03/16/2023, 12:47 PMHHChift
03/16/2023, 12:47 PMHHChift
03/16/2023, 12:48 PMporcellus
03/16/2023, 12:49 PMlastRefresh: new Date().toUTCString()
next to the currAccountId
into the access token payload?HHChift
03/16/2023, 12:50 PMporcellus
03/16/2023, 12:50 PMHHChift
03/16/2023, 12:55 PMHHChift
03/16/2023, 12:55 PMHHChift
03/16/2023, 12:55 PMHHChift
03/16/2023, 12:55 PMHHChift
03/16/2023, 12:55 PMrp_st
03/16/2023, 12:57 PMHHChift
03/16/2023, 12:58 PMHHChift
03/16/2023, 12:59 PMHHChift
03/16/2023, 12:59 PMHHChift
03/16/2023, 12:59 PMHHChift
03/16/2023, 1:01 PMporcellus
03/16/2023, 1:06 PMHHChift
03/16/2023, 1:11 PMHHChift
03/16/2023, 1:11 PMHHChift
03/16/2023, 1:11 PMporcellus
03/16/2023, 1:12 PMporcellus
03/16/2023, 1:13 PMHHChift
03/17/2023, 10:02 AMHHChift
03/17/2023, 10:02 AMHHChift
03/17/2023, 10:03 AMporcellus
03/17/2023, 10:03 AMporcellus
03/17/2023, 10:03 AMHHChift
03/21/2023, 9:08 AMHHChift
03/21/2023, 9:09 AMHHChift
03/21/2023, 9:10 AMHHChift
03/21/2023, 9:10 AMHHChift
03/21/2023, 9:13 AMrp_st
03/21/2023, 9:16 AMporcellus
03/21/2023, 9:39 AMporcellus
03/21/2023, 9:40 AMporcellus
03/21/2023, 9:45 AMfront-token
header from the cache
- it would, but the cache is set up by your app (or in this case by the lib your app uses), I'm not sure how well we can control itHHChift
03/21/2023, 11:40 AMrp_st
03/21/2023, 11:41 AMHHChift
03/21/2023, 11:42 AMrp_st
03/21/2023, 11:43 AMHHChift
03/21/2023, 11:47 AMrp_st
03/21/2023, 11:48 AM