Is it only me or everyone getting errors like Authentification failed. The user has canceled the authentication or the provider refused the connection #66

Closed
mistergiri opened this Issue Nov 28, 2012 · 0 comments

Comments

Projects
None yet
1 participant
@mistergiri

I tested with google, facebook and twitter. But none of them were working. All throwing errors.

Google:

Once the user click Allow access button it returns

User profile request failed. Most likely the user is not connected to the provider and he should to authenticate again

Expection

Exception Object
(
    [message:protected] => User profile request failed! Google returned an error: exception 'Exception' with message 'The Authorization Service has return: ' in /home/xxxxxx/public_html/wp-content/plugins/wordpress-social-login/hybridauth/Hybrid/thirdparty/OAuth/OAuth2Client.php:82
Stack trace:
#0 /home/xxxxxx/public_html/wp-content/plugins/wordpress-social-login/hybridauth/Hybrid/Provider_Model_OAuth2.php(114): OAuth2Client->authenticate('4/eujoT3AsfXUD5...')
#1 /home/xxxxxx/public_html/wp-content/plugins/wordpress-social-login/hybridauth/Hybrid/Endpoint.php(175): Hybrid_Provider_Model_OAuth2->loginFinish()
#2 /home/xxxxxx/public_html/wp-content/plugins/wordpress-social-login/hybridauth/Hybrid/Endpoint.php(56): Hybrid_Endpoint::processAuthDone()
#3 /home/xxxxxx/public_html/wp-content/plugins/wordpress-social-login/hybridauth/index.php(15): Hybrid_Endpoint::process()
#4 {main}
    [string:Exception:private] => 
    [code:protected] => 6
    [file:protected] => /home/xxxxxx/public_html/wp-content/plugins/wordpress-social-login/hybridauth/Hybrid/Auth.php
    [line:protected] => 153
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /home/xxxxxx/public_html/wp-content/plugins/wordpress-social-login/hybridauth/Hybrid/Auth.php
                    [line] => 39
                    [function] => initialize
                    [class] => Hybrid_Auth
                    [type] => ::
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [base_url] => http://xxxxxxxxx.com/wp-content/plugins/wordpress-social-login/hybridauth/
                                    [providers] => Array
                                        (
                                            [Google] => Array
                                                (
                                                    [enabled] => 1
                                                    [keys] => Array
                                                        (
                                                            [id] => xxxxxxxxxxxx.apps.googleusercontent.com
                                                            [secret] => xxxxxxxxxxxxxxxxxxxxxxxxx
                                                        )

                                                )

                                        )

                                )

                        )

                )

            [1] => Array
                (
                    [file] => /home/xxxxxx/public_html/wp-content/plugins/wordpress-social-login/authenticate.php
                    [line] => 98
                    [function] => __construct
                    [class] => Hybrid_Auth
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [base_url] => http://xxxxxxxxx.com/wp-content/plugins/wordpress-social-login/hybridauth/
                                    [providers] => Array
                                        (
                                            [Google] => Array
                                                (
                                                    [enabled] => 1
                                                    [keys] => Array
                                                        (
                                                            [id] => xxxxxxxxxxxx.apps.googleusercontent.com
                                                            [secret] => xxxxxxxxxxxxxxxxxxxxxxxxx
                                                        )

                                                )

                                        )

                                )

                        )

                )

        )

    [previous:Exception:private] => Exception Object
        (
            [message:protected] => User profile request failed! Google returned an error: exception 'Exception' with message 'The Authorization Service has return: ' in /home/xxxxxx/public_html/wp-content/plugins/wordpress-social-login/hybridauth/Hybrid/thirdparty/OAuth/OAuth2Client.php:82
Stack trace:
#0 /home/xxxxxx/public_html/wp-content/plugins/wordpress-social-login/hybridauth/Hybrid/Provider_Model_OAuth2.php(114): OAuth2Client->authenticate('4/eujoT3AsfXUD5...')
#1 /home/xxxxxx/public_html/wp-content/plugins/wordpress-social-login/hybridauth/Hybrid/Endpoint.php(175): Hybrid_Provider_Model_OAuth2->loginFinish()
#2 /home/xxxxxx/public_html/wp-content/plugins/wordpress-social-login/hybridauth/Hybrid/Endpoint.php(56): Hybrid_Endpoint::processAuthDone()
#3 /home/xxxxxx/public_html/wp-content/plugins/wordpress-social-login/hybridauth/index.php(15): Hybrid_Endpoint::process()
#4 {main}
            [string:Exception:private] => 
            [code:protected] => 6
            [file:protected] => /home/xxxxxx/public_html/wp-content/plugins/wordpress-social-login/hybridauth/Hybrid/Provider_Model_OAuth2.php
            [line:protected] => 117
            [trace:Exception:private] => Array
                (
                    [0] => Array
                        (
                            [file] => /home/xxxxxx/public_html/wp-content/plugins/wordpress-social-login/hybridauth/Hybrid/Endpoint.php
                            [line] => 175
                            [function] => loginFinish
                            [class] => Hybrid_Provider_Model_OAuth2
                            [type] => ->
                            [args] => Array
                                (
                                )

                        )

                    [1] => Array
                        (
                            [file] => /home/xxxxxx/public_html/wp-content/plugins/wordpress-social-login/hybridauth/Hybrid/Endpoint.php
                            [line] => 56
                            [function] => processAuthDone
                            [class] => Hybrid_Endpoint
                            [type] => ::
                            [args] => Array
                                (
                                )

                        )

                    [2] => Array
                        (
                            [file] => /home/xxxxxx/public_html/wp-content/plugins/wordpress-social-login/hybridauth/index.php
                            [line] => 15
                            [function] => process
                            [class] => Hybrid_Endpoint
                            [type] => ::
                            [args] => Array
                                (
                                )

                        )

                )

            [previous:Exception:private] => 
        )

)
HybridAuth

Array
(
    [0] => Array
        (
            [base_url] => http://xxxxxxxxx.com/wp-content/plugins/wordpress-social-login/hybridauth/
            [providers] => Array
                (
                    [Google] => Array
                        (
                            [enabled] => 1
                            [keys] => Array
                                (
                                    [id] => xxxxxxxxxxxx.apps.googleusercontent.com
                                    [secret] => xxxxxxxxxxxxxxxxxxxxxxxxx
                                )

                        )

                )

        )

    [1] => 
    [2] => 
    [3] => 
)

Facebook:

Expection

Exception Object
(
    [message:protected] => Authentification failed! Facebook returned an invalide user id.
    [string:Exception:private] => 
    [code:protected] => 5
    [file:protected] => /home/xxxxxx/public_html/wp-content/plugins/wordpress-social-login/hybridauth/Hybrid/Auth.php
    [line:protected] => 153
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /home/xxxxxx/public_html/wp-content/plugins/wordpress-social-login/hybridauth/Hybrid/Auth.php
                    [line] => 39
                    [function] => initialize
                    [class] => Hybrid_Auth
                    [type] => ::
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [base_url] => http://xxxxxxxxx.com/wp-content/plugins/wordpress-social-login/hybridauth/
                                    [providers] => Array
                                        (
                                            [Facebook] => Array
                                                (
                                                    [enabled] => 1
                                                    [keys] => Array
                                                        (
                                                            [id] => xxxxxxxxxxxxxxx
                                                            [secret] => xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
                                                        )

                                                    [display] => popup
                                                )

                                        )

                                )

                        )

                )

            [1] => Array
                (
                    [file] => /home/xxxxxx/public_html/wp-content/plugins/wordpress-social-login/authenticate.php
                    [line] => 98
                    [function] => __construct
                    [class] => Hybrid_Auth
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [base_url] => http://xxxxxxxxx.com/wp-content/plugins/wordpress-social-login/hybridauth/
                                    [providers] => Array
                                        (
                                            [Facebook] => Array
                                                (
                                                    [enabled] => 1
                                                    [keys] => Array
                                                        (
                                                            [id] => xxxxxxxxxxxxxxx
                                                            [secret] => xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
                                                        )

                                                    [display] => popup
                                                )

                                        )

                                )

                        )

                )

        )

    [previous:Exception:private] => Exception Object
        (
            [message:protected] => Authentification failed! Facebook returned an invalide user id.
            [string:Exception:private] => 
            [code:protected] => 5
            [file:protected] => /home/xxxxxx/public_html/wp-content/plugins/wordpress-social-login/hybridauth/Hybrid/Providers/Facebook.php
            [line:protected] => 85
            [trace:Exception:private] => Array
                (
                    [0] => Array
                        (
                            [file] => /home/xxxxxx/public_html/wp-content/plugins/wordpress-social-login/hybridauth/Hybrid/Endpoint.php
                            [line] => 175
                            [function] => loginFinish
                            [class] => Hybrid_Providers_Facebook
                            [type] => ->
                            [args] => Array
                                (
                                )

                        )

                    [1] => Array
                        (
                            [file] => /home/xxxxxx/public_html/wp-content/plugins/wordpress-social-login/hybridauth/Hybrid/Endpoint.php
                            [line] => 56
                            [function] => processAuthDone
                            [class] => Hybrid_Endpoint
                            [type] => ::
                            [args] => Array
                                (
                                )

                        )

                    [2] => Array
                        (
                            [file] => /home/xxxxxx/public_html/wp-content/plugins/wordpress-social-login/hybridauth/index.php
                            [line] => 15
                            [function] => process
                            [class] => Hybrid_Endpoint
                            [type] => ::
                            [args] => Array
                                (
                                )

                        )

                )

            [previous:Exception:private] => 
        )

)
HybridAuth

Array
(
    [0] => Array
        (
            [base_url] => http://xxxxxxxxx.com/wp-content/plugins/wordpress-social-login/hybridauth/
            [providers] => Array
                (
                    [Facebook] => Array
                        (
                            [enabled] => 1
                            [keys] => Array
                                (
                                    [id] => xxxxxxxxxxxxxxx
                                    [secret] => xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
                                )

                            [display] => popup
                        )

                )

        )

    [1] => 
    [2] => 
    [3] => 
)

Twitter:

Expection

Exception Object
(
    [message:protected] => Authentification failed! Twitter returned an error. 
    [string:Exception:private] => 
    [code:protected] => 5
    [file:protected] => /home/xxxxxx/public_html/wp-content/plugins/wordpress-social-login/hybridauth/Hybrid/Auth.php
    [line:protected] => 153
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /home/xxxxxx/public_html/wp-content/plugins/wordpress-social-login/hybridauth/Hybrid/Auth.php
                    [line] => 39
                    [function] => initialize
                    [class] => Hybrid_Auth
                    [type] => ::
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [base_url] => http://xxxxxxxxx.com/wp-content/plugins/wordpress-social-login/hybridauth/
                                    [providers] => Array
                                        (
                                            [Twitter] => Array
                                                (
                                                    [enabled] => 1
                                                    [keys] => Array
                                                        (
                                                            [key] => xxxxxxxxxxxxxxxxxxxxxx
                                                            [secret] => xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
                                                        )

                                                )

                                        )

                                )

                        )

                )

            [1] => Array
                (
                    [file] => /home/xxxxxx/public_html/wp-content/plugins/wordpress-social-login/authenticate.php
                    [line] => 98
                    [function] => __construct
                    [class] => Hybrid_Auth
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [base_url] => http://xxxxxxxxx.com/wp-content/plugins/wordpress-social-login/hybridauth/
                                    [providers] => Array
                                        (
                                            [Twitter] => Array
                                                (
                                                    [enabled] => 1
                                                    [keys] => Array
                                                        (
                                                            [key] => xxxxxxxxxxxxxxxxxxxxxx
                                                            [secret] => xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
                                                        )

                                                )

                                        )

                                )

                        )

                )

        )

    [previous:Exception:private] => Exception Object
        (
            [message:protected] => Authentification failed! Twitter returned an error. 
            [string:Exception:private] => 
            [code:protected] => 5
            [file:protected] => /home/xxxxxx/public_html/wp-content/plugins/wordpress-social-login/hybridauth/Hybrid/Provider_Model_OAuth1.php
            [line:protected] => 106
            [trace:Exception:private] => Array
                (
                    [0] => Array
                        (
                            [file] => /home/xxxxxx/public_html/wp-content/plugins/wordpress-social-login/hybridauth/Hybrid/Endpoint.php
                            [line] => 140
                            [function] => loginBegin
                            [class] => Hybrid_Provider_Model_OAuth1
                            [type] => ->
                            [args] => Array
                                (
                                )

                        )

                    [1] => Array
                        (
                            [file] => /home/xxxxxx/public_html/wp-content/plugins/wordpress-social-login/hybridauth/Hybrid/Endpoint.php
                            [line] => 52
                            [function] => processAuthStart
                            [class] => Hybrid_Endpoint
                            [type] => ::
                            [args] => Array
                                (
                                )

                        )

                    [2] => Array
                        (
                            [file] => /home/xxxxxx/public_html/wp-content/plugins/wordpress-social-login/hybridauth/index.php
                            [line] => 15
                            [function] => process
                            [class] => Hybrid_Endpoint
                            [type] => ::
                            [args] => Array
                                (
                                )

                        )

                )

            [previous:Exception:private] => 
        )

)
HybridAuth

Array
(
    [0] => Array
        (
            [base_url] => http://xxxxxxxxx.com/wp-content/plugins/wordpress-social-login/hybridauth/
            [providers] => Array
                (
                    [Twitter] => Array
                        (
                            [enabled] => 1
                            [keys] => Array
                                (
                                    [key] => xxxxxxxxxxxxxxxxxxxxxx
                                    [secret] => xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
                                )

                        )

                )

        )

    [1] => 
    [2] => 
    [3] => 
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment