It seems that when roles are assigned to user via post login action, there are no proper records in logs related to change of a roles for a user. Is that expected behaviour?
Hey there @adrian.bogacz welcome to the community!
Can you share how you are assigning roles in an Action so that I can test in my own environment?
await management.organizations.deleteMemberRoles(userOrgParam, { "roles": rolesToRemoveById });
await management.organizations.addMemberRoles(userOrgParam, { "roles": rolesToAssign });