Issue(SOLVED): Sitecore 8.2.3: IsAuthenticated property is “false” for statless/token based authentication in ServicesApiController

Posted by on Jun 9, 2017 in Sitecore Blog | 0 comments

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. Solution From Sitecore: The default TokenDelegatingHandler is using UserService.SwitchToUser method to log in the user. However, UserService is loading the...

Read More

Sitecore WebAPI: ServicesApiController and JWT Token Security

Posted by on Jun 9, 2017 in Sitecore Blog | 10 comments

I would like to demonstrate how to create Sitecore WebAPI based custom service and utilize native Sitecore/.NET security mechanism. The ServicesApiController is part of Sitecore.Services.Infrastructure.dll and it implements .NET ApiController. Usage of ServicesApiController ensures continuation of Sitecore global item security policies and individual filters that can have individual requirements. My goal is to create stateless WebAPI based...

Read More

Sitecore 8.2 Azure PaaS deployment with ARM templates and PowerShell

Posted by on Jan 13, 2017 in Sitecore Blog | 3 comments

The Sitecore 8.2 update 1+  was the first major release that took Sitecore to a cloud as a service. The  Sitecore Azure Module was available since version 6, but it was never widely accepted due to support and installation challenges. With the support of PowerShell and Azure Toolkit, Sitecore can be installed as App Service in Azure with minimal effort now. In this article, I’ll review Sitecore provisioning into AppService using...

Read More

Guide to Sitecore Implicit Personalization

Posted by on Dec 8, 2016 in Sitecore Blog | 1 comment

Understanding your customer and giving them relevant content is critical to online marketing. Often, it is not possible to know characteristics of customer in real-time, while customer browses the site. Implicit personalization could analyze customer behavior in real-time and serve content that has the closest match to the predefined profile. Numerous studies were conducted to examine an effect of personalization on sales and conversions. One...

Read More