1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Login Problems

Login Problems

6 posts, 0 answered
  1. Byzza
    Byzza avatar
    89 posts
    Registered:
    09 Jul 2007
    21 Feb 2011
    Link to this post
    All was ok last week with my second project, but today when I went to login It wouldn't accept my login details and all had an extra field on the screen: Authentication Provider, but there was nothing in the dorpdown (see attachment)

    Can someone help please.

    Thank you
    regards
    Byron
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    21 Feb 2011
    Link to this post
    Hi Byzza,

    Have you added an additional membership provider for the website? Please check ~/App_Data/Sitefinity/Configuration/securityConfig.config. The dropdown you see should appear if there is another membership provider declared.

    Also restart the application in case you have made some changes to it.

    Best wishes,
    Ivan Dimitrov
    the Telerik team
  3. Byzza
    Byzza avatar
    89 posts
    Registered:
    09 Jul 2007
    21 Feb 2011
    Link to this post

    Hi,
    Thanks for the resonse.  I checked the config file and I found this in it (this was the only difference to the default)

    <membershipProviders>
        <add recoveryMailAddress="email@company.com" name="Default" />
    </membershipProviders>

    I set this up last week.  maybe I left a setting blank that I should have or something (maybe a bug?)

    I removed this section reverting back to the original.  restarted IIS and went back in and I'm still getting the same dropdown and it still won't let me log in.

    Regards
    Byron
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    24 Feb 2011
    Link to this post
    Hi Byzza,

    The drop down would appear only if you have more than one provider. Can you create a simple control and check the providers programmatically

    var providers = UserManager.ProvidersCollection;
    if (providers == null)
        providers = UserManager.GetManager().Providers;
     
    if (providers.Count > 1)
    {
     
    }

    Best wishes,
    Ivan Dimitrov
    the Telerik team
  5. Byzza
    Byzza avatar
    89 posts
    Registered:
    09 Jul 2007
    05 May 2011
    Link to this post
    I still haven't been able to work this out.

    I did create a blank page with the below code, and it returned only a value of 1 for number of providers.  Could you please let me know anything else to test

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using Telerik.Sitefinity;
    using Telerik.Sitefinity.Security;
      
      
      
    namespace SitefinityWebApp
    {
        public partial class test : System.Web.UI.Page
        {
            protected void Page_Load(object sender, EventArgs e)
            {
                var providers = UserManager.ProvidersCollection;
                if (providers == null)
                    providers = UserManager.GetManager().Providers;
      
                Response.Write(providers.Count);
                //Response.Write(providers[0].ApplicationName.ToString );
                if (providers.Count > 1)
                {
                  
                }
      
            }
        }
    }
  6. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    05 May 2011
    Link to this post
    Hello Byzza,

    Which version of Sitefinity you are running? Can you try to add a new provider under a new project  that uses Sitefinity 4.1 (Q1) release.

    If there are still issues, please open a support request and attach the security config you use.

    Greetings,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
6 posts, 0 answered