Blumonde

Blumonde

  • NA
  • 78
  • 28.7k

After converting to Claims-based authentication

Apr 8 2017 9:29 PM

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)