https://discord.umbraco.com logo
hi, just a quick question.. We often noticed the c...
# umbraco-chat
r
hi, just a quick question.. We often noticed the check for backoffice logged in user wasn't reliable (BackofficeUserAccessor _backofficeUserAccessor, var IsAdmin = _backofficeUserAccessor.BackofficeUser.IsAuthenticated;), after a while this gives fail while we are still logged in in Umbraco. For API usage we now use endpoints with bearer tokens wich is always the right way, we don't get any 401 anymore. But is there any other reliable way to check logged in status on front without bearer tokens, or any other way to make sure the backofficeUserAccessor is reliable??