How to configure a LinkedIn's application in HybridAuth?

1.1k views Asked by At

I state that I have created an application with LinkedIn and I am in possession of the key and the secret key of the application.

After inserting the key in the configuration file in HybridAuth (config.php) and after trying to log in with my LinkedIn account, HybridAuth returns me the following error:

"Error! Authentication failed. The user has canceled the authentication or the provider refused the connection.

Original error message: Authentication failed! LinkedIn returned an invalid Token."

What could be the problem?

This is the configuration that concerns LinkedIn:

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

There are 0 answers