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 | 4 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

MaxMind GeoIP2 Sitecore Lookup Provider Module Installation

Posted by on Apr 23, 2016 in Sitecore Blog | 2 comments

Sitecore has release Geolocaiton service on May 2015. The included support for MaxMind was disconnected in June of that year. With Geo service is been part of Sitecore offerings now, it will be possible for Sitecore to enhance and expand its functionality in a future releases. The native integration of Geo services would make installation easier and support more streamlined. Nevertheless, MaxMind  API integration could still be very useful in...

Read More

Continuous Deployment with Sitecore and TDS

Posted by on Jan 4, 2016 in Sitecore Blog | 0 comments

There are many articles written on how to create ‘perfect’ continues deployment process with Sitecore, but in my 7 years of Sitecore experience I did not had opportunity to see many functional and complete implementations. The file deployment was never an issue, but synchronous deployment of content(items) and files was. The main issue that make continues deployment difficult to implement in Sitecore is complexity around deploying...

Read More