Select Page

I have had issue with JWT  token authentication in stateless mode, where is IsAuthenticated property is always  set to ‘false’. The issue does not exist in cookie based authentication for the same request. As a workaround I used ” Context.User.Name” property instead.


From Sitecore:

The default TokenDelegatingHandler is using UserService.SwitchToUser method to log in the user. However, UserService is loading the user with isAuthenticated parameter set to false.

To track the future status of this bug report, please use the reference number 166698. More information about public reference numbers can be found here: