More in this section
Forums / Bugs & Issues / Basic authentication fails randomly

Basic authentication fails randomly

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
1 posts, 0 answered
  1. Eric
    Eric avatar
    147 posts
    12 Nov 2007
    15 Aug 2016
    Link to this post

    Basic authentication fails intermittently. I created an HttpHandler with the intent of handling basic authentication myself, but it seems Sitefinity catches requests with the header and authenticates the request against its provider. This is fine, I set up the user so it passes, but randomly it fails. I have no why it fails, we just get an exception. I'd be happy with either of the two solutions

    1. Get the authentication to be consistent and always accept the request (when the credentials are correct of course)
    2. Not have Sitefinity process the authentication header and let me authenticate myself.


    Source: Telerik.Sitefinity
    Message: Failed to authenticate. Reason: Unknown
       at Telerik.Sitefinity.Security.SecurityManager.IsBasicAuthenticaton(HttpContextBase context)
       at Telerik.Sitefinity.Security.SecurityManager.AuthenticateRequest(HttpContextBase context)
       at Telerik.Sitefinity.Web.SitefinityHttpModule.AppContext_AuthenticateRequest(Object sender, EventArgs e)
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

1 posts, 0 answered