I’m working on a .NET 4.7.2 conversion to .NET 8 using SystemWebAdapters for session and remote auth.
Currently auth is working and it shows that I’m logged in but if I try to use an authorize attribute with a role specified, it says I don’t have access. This is a role I do have on the .NET Framework side.
When looking at the context.User object I can see that I only have one Claim currently, does SystemWebAdapters not convert over Roles automatically?
Our legacy site is using MVC 5 with SimpleMembership and it specifies authentication mode=”Forms”
We are using the membership tables in the database that they generated for us, I don’t believe we customized it in any way.
I’m not an expert with auth or identity so I’m not sure how roles correspond to claims, so any help would be great understanding what is supposed to be happening as well as helping me figure out why it’s not working would be great.