andacata / HybridIgniter

HybridAuth - CodeIgniter integration
139 stars 84 forks source link

An Error Was Encountered Error authenticating user. #38

Open saurabh98505 opened 8 years ago

saurabh98505 commented 8 years ago

An Error Was Encountered

Error authenticating user.

I have entered secret and client id also

<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /*!

// ---------------------------------------------------------------------------------------- // HybridAuth Config file: http://hybridauth.sourceforge.net/userguide/Configuration.html // ----------------------------------------------------------------------------------------

$config = array( // set on "base_url" the relative url that point to HybridAuth Endpoint 'base_url' => '/index.php/hauth/endpoint',

    "providers" => array (
        // openid providers
        "OpenID" => array (
            "enabled" => true
        ),

        "Yahoo" => array (
            "enabled" => true,
            "keys"    => array ( "id" => "", "secret" => "" ),
        ),

        "AOL"  => array (
            "enabled" => true
        ),

        "Google" => array (
            "enabled" => true,
            "keys"    => array ( "id" => "", "secret" => "" ),
        ),

        "Facebook" => array (
            "enabled" => true,
            "keys"    => array ( "id" => "", "secret" => "" ),
        ),

        "Twitter" => array (
            "enabled" => true,
            "keys"    => array ( "key" => "", "secret" => "" )
        ),

        // windows live
        "Live" => array (
            "enabled" => true,
            "keys"    => array ( "id" => "", "secret" => "" )
        ),

        "MySpace" => array (
            "enabled" => true,
            "keys"    => array ( "key" => "", "secret" => "" )
        ),

        "LinkedIn" => array (
            "enabled" => true,
            "keys"    => array ( "key" => "", "secret" => "" )
        ),

        "Foursquare" => array (
            "enabled" => true,
            "keys"    => array ( "id" => "", "secret" => "" )
        ),
    ),

    // if you want to enable logging, set 'debug_mode' to true  then provide a writable file by the web server on "debug_file"
    "debug_mode" => (ENVIRONMENT == 'development'),

    "debug_file" => APPPATH.'/logs/hybridauth.log',
);

/* End of file hybridauthlib.php / / Location: ./application/config/hybridauthlib.php */