I login the user. After login, my app leaves the login page and goes to the main page, based on the 'MainLayout' layouyt.
In the layout, in Load (), radzen generates a code to check if the user is authenticated. The code is:
protected async System.Threading.Tasks.Task Load ()
if (Security.IsAuthenticated ())
What happens is that IsAuthenticated () is returned false.
The code generated by Radzen in IsAuthenticated () is:
public bool IsAuthenticated ()
return Principal! = null? Principal.Identity.IsAuthenticated: false;
In the code above, the Principal is null.