lslunis
05/02/2023, 8:35 PMawait session.fetchAndSetClaim(UserRoleClaim)
, but I'm not sure how to go from an email to a SessionContainer
rp_st
05/02/2023, 8:41 PMrp_st
05/02/2023, 8:42 PMlslunis
05/02/2023, 8:53 PMlslunis
05/02/2023, 9:01 PMUserRoles.addRoleToUser
in the Node sdk would work since it'd propagate to the db and from there to the sessions?rp_st
05/03/2023, 4:25 AMlslunis
05/03/2023, 10:58 PMst-role.v
is empty. If I sign back in a few minutes later, it contains the role. Is that just the 5 minute delay that you mentioned above? Is there any way to cause it to happen immediately on sign up?lslunis
05/03/2023, 10:59 PMlslunis
05/03/2023, 11:16 PMrp_st
05/04/2023, 5:42 AMawait session.fetchAndSetClaim(roles claim)