This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cookie based SSO not working in Telligent 10

Hi,

I have recently upgraded from Community v9 to v10.0.1.5133 to resolve a bug that prevented users email addresses being fully updated through the REST API

Original bug: Updating user emails though REST = incomplete database updates

Following from this update, the cookie based SSO functionality has stopped working.

When I create an SSO cookie from our website, and then navigate to the community site, I get the following error:

And in the logs the below exception is thrown:

CSException: An unexpected error prevented your requested action from completing. The error has been logged for the administrator to review. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Telligent.Evolution.Api.Services.UserService.UpdateUser(Int32 userId, UsersUpdateOptions options)
   at Telligent.Evolution.Extensibility.Api.Version1.Users.Update(UsersUpdateOptions options)
   at Telligent.Evolution.CoreServices.Presence.Implementations.PresenceService.Map(Presence presence)
   at Telligent.Evolution.Urls.Routing.SiteUrlRouteHandler.RegisterPresenceAndRenderPresenceAttributes(PageContext pageContext, IExecutionContext context, String cssClass)
   at Telligent.Evolution.Urls.Routing.SiteUrlRouteHandler.BuildPage(PageContext pageContext, IThemeableApplicationType themeType, DefaultPageOutputController controller, Boolean supressContent, HttpContext httpContext)
   at Telligent.Evolution.Urls.Routing.SiteUrlRouteHandler.GetPageHttpHandler(RequestContext requestContext, PageContext pageContext)
   at Telligent.Evolution.Urls.Routing.SiteUrlRouteHandler.GetHttpHandler(RequestContext requestContext)
   at System.Web.Routing.UrlRoutingModule.PostResolveRequestCache(HttpContextBase context)
   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
   --- End of inner exception stack trace ---
   at Telligent.Evolution.Components.CSException.InitializeEffectiveStackTraceSet()
   at Telligent.Evolution.Components.CSException.Unknown(CSExceptionType type, String internalMessage, Exception innerException)
   at Telligent.Evolution.CSHttpModule.Application_OnError(Object source, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.Web.HttpApplication.RaiseOnError()
   at System.Web.HttpApplication.RecordError(Exception error)
   at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)
   at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)
   at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)
   at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
   at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
   at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)
   at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)
   at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
   at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)

When I change the cookie to user the email and username of the admin user the SSO functionality works fine. 

Has anybody else experienced this issue and have a resolution to the issue? 

Thanks