Authentication error: Opauth returns error auth response.

216 views
Skip to first unread message

Abdul Mannan

unread,
Mar 31, 2015, 9:16:48 AM3/31/15
to opa...@googlegroups.com
Hi,

Everything is working fine except when user returns back from authenticating with Facebook, it takes alot of time and after this it returns this error.

Authentication error: Opauth returns error auth response.
Array
(
    [error] => Array
        (
            [provider] => Facebook
            [code] => access_token_error
            [message] => Failed when attempting to obtain access token
            [raw] => 
        )

    [timestamp] => 2015-03-31T18:06:42+05:00
)

I'm on localhost and application is configured correctly on fb. Also i have checked php.ini and extension=php_openssl.so is enabled and allow_url_fopen is also On. Also added a backslash with the callback url, but still it is not working.

This is my callback url (  http://localhost/testing/facebook_2/Opauth-bundled-example/callback.php/ )  and after redirection from facebook, callback becomes this ( http://localhost/testing/facebook_2/Opauth-bundled-example/callback.php/#_=_ ).

I have searched and applied every possible solution I found but no success. Please help.



Thanks
Abdul Mannan

John Chandler

unread,
Mar 29, 2017, 12:10:35 AM3/29/17
to Opauth
Any advice as to what to do about this?

Javier Reartes

unread,
Apr 24, 2017, 1:26:50 PM4/24/17
to Opauth
I'm having the same issue, were you able to fix it?
Reply all
Reply to author
Forward
0 new messages