2
Answers

After converting to Claims-based authentication

Blumonde

Blumonde

8y
281
1

Hello,

I convert my app from individual authentication to Claims-based authentication.

The problem is that I was an administrator when I was using individual authentication.

After converting the app to Claims-based authentication via smart card, mvc identify provider logs me in but it doesn't recognize me that I already have an administrator role in the aspnetuserroles table.

Can someone please tell me to fix that? How can I make it apply my existing role after logged in via Claims-based authentication ?

As of now, after I login via Claims-based authentication, the mvc app sees me as a regular user.

Please advise. Thank you.

Answers (2)
0
Ben Chris
35 5.5k 1.1m 8y
try role base accessibility in claim base authentication as follow i.e. http://bit.ly/2pl3vlz
Accepted
0
Blumonde
NA 65 5k 8y
Thank you for the info, AK. I will check it out soon.