ballsrichter
07/30/2023, 1:00 PMconst roles = await req.session!.getClaimValue(UserRoles.UserRoleClaim);
(specifically the session!.getClaimValue()
part).
However, assuming that !
operator isn't meant to be there, I am still finding that my session objects do not actually contain any function getClaimValue()
. The role data exists in the session object, I see it in userDataInAccessToken
. But that function doesn't exist and can't be called for whatever reason.