No OpenID endpoint found while connecting to WordPress

I have the following code in the AuthConfig.cs(MVC Application) file ,

public static void RegisterAuth()
        {       

            OAuthWebSecurity.RegisterGoogleClient();

            OAuthWebSecurity.RegisterClient(new WordPressOpenId(), "wordpress", null);

        }
public class WordPressOpenId : OpenIdClient
    {
        public WordPressOpenId()
            : base("wordpress", "https://example.wordpress.com")
        {
        }
    }

While trying to login to WordPress it shows “No OpenID endpoint found” error.
I could connect to google and yahoo using openid but i have problem with WordPress alone.
Could you please tell what need to be done?

Related posts

Leave a Reply