Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-14493

Facebook Oauth integration seems to be broken

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Invalid
    • Affects Version/s: 3.1.7-pl1
    • Fix Version/s: None
    • Component/s: Login
    • Labels:
      None
    • Environment:
      PHP Version 5.6.17

      Description

      I am attempting to use and follow the guide as written here https://www.phpbb.com/support/docs/en/3.1/ug/adminguide/general_client I have created an app in facebook and when i or other users attempt to login to the forum by clicking the button we receive server error 500 and this is in the server error log.

      Stack trace:
      #0 /home2/graymau2/public_html/forum/vendor/lusitanian/oauth/src/OAuth/OAuth2/Service/AbstractService.php(97): OAuth\Common\Http\Client\StreamClient->retrieveResponse(Object(OAuth\Common\Http\Uri\Uri), Array, Array)
      #1 /home2/graymau2/public_html/forum/phpbb/auth/provider/oauth/service/facebook.php(69): OAuth\OAuth2\Service\AbstractService->requestAccessToken('AQDisP2ZLV29Z3g...')
      #2 /home2/graymau2/public_html/forum/phpbb/auth/provider/oauth/oauth.php(198): phpbb\auth\provider\oauth\service\facebook->perform_auth_login()
      #3 /home2/graymau2/public_html/forum/phpbb/auth/auth.php(938): phpbb\auth\provider\oauth\oauth->login('', '')
      #4 /home2/graymau2/public_html/forum/includes/functions.php(2874): phpbb\auth\auth->login('', '', false, 1, 0)
      #5 /home2/graymau2/public_html/forum/ in /home2/graymau2/public_html/forum/vendor/lusitanian/oauth/src/OAuth/Common/Http/Client/StreamClient.php on line 54
      [20-Feb-2016 15:10:05 America/Denver] PHP Fatal error:  Uncaught exception 'OAuth\Common\Http\Exception\TokenResponseException' with message 'Failed to request resource.' in /home2/graymau2/public_html/forum/vendor/lusitanian/oauth/src/OAuth/Common/Http/Client/StreamClient.php:54
      Stack trace:
      #0 /home2/graymau2/public_html/forum/vendor/lusitanian/oauth/src/OAuth/OAuth2/Service/AbstractService.php(97): OAuth\Common\Http\Client\StreamClient->retrieveResponse(Object(OAuth\Common\Http\Uri\Uri), Array, Array)
      #1 /home2/graymau2/public_html/forum/phpbb/auth/provider/oauth/service/facebook.php(69): OAuth\OAuth2\Service\AbstractService->requestAccessToken('AQA2nQ15ZCeV-hH...')
      #2 /home2/graymau2/public_html/forum/phpbb/auth/provider/oauth/oauth.php(198): phpbb\auth\provider\oauth\service\facebook->perform_auth_login()
      #3 /home2/graymau2/public_html/forum/phpbb/auth/auth.php(938): phpbb\auth\provider\oauth\oauth->login('', '')
      #4 /home2/graymau2/public_html/forum/includes/functions.php(2874): phpbb\auth\auth->login('', '', false, 1, 0)
      #5 /home2/graymau2/public_html/forum/ in /home2/graymau2/public_html/forum/vendor/lusitanian/oauth/src/OAuth/Common/Http/Client/StreamClient.php on line 54
      
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rrbailey89 rrbailey89
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: