Kazbek
Kazbek

Reputation: 182

ASP.NET Core 2.0 Identity update user roles only after re-authorization

I`m using ASP.NET Core 2.0 with Identity authorization. When I change user roles through my data context, the changes take effect only when the user logout and login again. Can I somehow update them without re-authorization? Can there be a way to do this using managers?

Upvotes: 0

Views: 1302

Answers (1)

Andriod
Andriod

Reputation: 1319

I asked MS about this, and it does not seem to be possible to update/refresh another user, only current. Se GitHub Issue here.

Upvotes: 3

Related Questions