Radzen bug

Looks like there is a bug in Radzen.
Because when I want to get userId, returns null value.

var userId = User.FindFirstValue(ClaimTypes.Name);
var user = await userManager.FindByIdAsync(userId);
var role = await userManager.GetRolesAsync(user);

Can you please help me with this issue?

Regards
Patricia Neira

Hi,

Do you have Authorize attribute?

Thank you!!, now is working :smiley:

Regards