If I enter the following Valid OAuth redirect URIs:
Code: Select all
https://www.mydomain.com/ucp.php?i=ucp_auth_link&mode=auth_link&link=1&oauth_service=facebook
Code: Select all
Fatal error: Uncaught OAuth\Common\Http\Exception\TokenResponseException: Methods with the same name as their class will not be constructors in a future version of PHP; bitfield has a deprecated constructor in /var/sites/u/mydomain.com/public_html/vendor/lusitanian/oauth/src/OAuth/Common/Http/Client/StreamClient.php:73 Stack trace: #0 /var/sites/u/mydomain.com/public_html/vendor/lusitanian/oauth/src/OAuth/OAuth2/Service/AbstractService.php(183): OAuth\Common\Http\Client\StreamClient->retrieveResponse(Object(OAuth\Common\Http\Uri\Uri), NULL, Array, 'GET') #1 /var/sites/u/mydomain.com/public_html/phpbb/auth/provider/oauth/service/facebook.php(72): OAuth\OAuth2\Service\AbstractService->request('/me') #2 /var/sites/u/mydomain.com/public_html/phpbb/auth/provider/oauth/oauth.php(557): phpbb\auth\provider\oauth\service\facebook->perform_auth_login() #3 /var/sites/u/mydomain.com/public_html/phpbb/auth/provider/oauth/oauth.php(487): phpbb\auth\provider\oauth\oauth->link_account_auth_link(Array, 'auth.provider.o in /var/sites/u/mydomain.com/public_html/vendor/lusitanian/oauth/src/OAuth/Common/Http/Client/StreamClient.php on line 73
Using phpBB 3.2, php 7.1 but get the same results using php 5.6 too.URL blocked: This redirect failed because the redirect URI is not white-listed in the app's client OAuth settings. Make sure that the client and web OAuth logins are on and add all your app domains as valid OAuth redirect URIs.