Hi all,
I’m not sure if Facebook Oauth is down but currently we can’t authenticate users against our DF v2.2.1 via Facebook.
The DF server response is the following:
{"error":{"context":null,"message":"","code":500,"trace":["0 /opt/bitnami/apps/dreamfactory/htdocs/vendor/dreamfactory/df-oauth/src/Services/BaseOAuthService.php(91): Laravel\\Socialite\\Two\\AbstractProvider->user()","1 /opt/bitnami/apps/dreamfactory/htdocs/vendor/dreamfactory/df-core/src/Resources/UserSessionResource.php(85): DreamFactory\\Core\\OAuth\\Services\\BaseOAuthService->handleOAuthCallback()","2 [internal function]: DreamFactory\\Core\\Resources\\UserSessionResource->handlePOST()","3 /opt/bitnami/apps/dreamfactory/htdocs/vendor/dreamfactory/df-core/src/Components/RestHandler.php(268): call_user_func(Array)","4 /opt/bitnami/apps/dreamfactory/htdocs/vendor/dreamfactory/df-core/src/Components/RestHandler.php(174): DreamFactory\\Core\\Components\\RestHandler->processRequest()","5 /opt/bitnami/apps/dreamfactory/htdocs/vendor/dreamfactory/df-core/src/Components/RestHandler.php(221): DreamFactory\\Core\\Components\\RestHandler->handleRequest(Object(DreamFactory\\Core\\Utility\\ServiceRequest), '')","6 /opt/bitnami/apps/dreamfactory/htdocs/vendor/dreamfactory/df-core/src/Components/RestHandler.php(169): DreamFactory\\Core\\Components\\RestHandler->handleResource(Array)","7 /opt/bitnami/apps/dreamfactory/htdocs/vendor/dreamfactory/df-core/src/Services/BaseRestService.php(75): DreamFactory\\Core\\Components\\RestHandler->handleRequest(Object(DreamFactory\\Core\\Utility\\ServiceRequest), 'session')","8 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(17089): DreamFactory\\Core\\Services\\BaseRestService->handleRequest(Object(DreamFactory\\Core\\Utility\\ServiceRequest), 'session')","9 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(17061): DreamFactory\\Http\\Controllers\\RestController->handleService('v2', 'user', 'session')","10 [internal function]: DreamFactory\\Http\\Controllers\\RestController->handlePOST('v2', 'user', 'session')","11 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(9132): call_user_func_array(Array, Array)","12 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(9194): Illuminate\\Routing\\Controller->callAction('handlePOST', Array)","13 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(9174): Illuminate\\Routing\\ControllerDispatcher->call(Object(DreamFactory\\Http\\Controllers\\RestController), Object(Illuminate\\Routing\\Route), 'handlePOST')","14 [internal function]: Illuminate\\Routing\\ControllerDispatcher->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))","15 /opt/bitnami/apps/dreamfactory/htdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(52): call_user_func(Object(Closure), Object(Illuminate\\Http\\Request))","16 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(17266): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))","17 [internal function]: DreamFactory\\Http\\Middleware\\AccessCheck->handle(Object(Illuminate\\Http\\Request), Object(Closure))","18 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(9666): call_user_func_array(Array, Array)","19 [internal function]: Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))","20 /opt/bitnami/apps/dreamfactory/htdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\\Http\\Request))","21 [internal function]: Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))","22 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(9651): call_user_func(Object(Closure), Object(Illuminate\\Http\\Request))","23 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(9175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))","24 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(9162): Illuminate\\Routing\\ControllerDispatcher->callWithinStack(Object(DreamFactory\\Http\\Controllers\\RestController), Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request), 'handlePOST')","25 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(8230): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request), 'DreamFactory\\\\Ht...', 'handlePOST')","26 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(8217): Illuminate\\Routing\\Route->runController(Object(Illuminate\\Http\\Request))","27 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(7931): Illuminate\\Routing\\Route->run(Object(Illuminate\\Http\\Request))","28 [internal function]: Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))","29 /opt/bitnami/apps/dreamfactory/htdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(52): call_user_func(Object(Closure), Object(Illuminate\\Http\\Request))","30 [internal function]: Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))","31 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(9651): call_user_func(Object(Closure), Object(Illuminate\\Http\\Request))","32 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(7932): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))","33 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(7923): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))","34 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(7913): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))","35 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(2419): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))","36 [internal function]: Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))","37 /opt/bitnami/apps/dreamfactory/htdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(52): call_user_func(Object(Closure), Object(Illuminate\\Http\\Request))","38 /opt/bitnami/apps/dreamfactory/htdocs/app/Http/Middleware/AuthCheck.php(183): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))","39 [internal function]: DreamFactory\\Http\\Middleware\\AuthCheck->handle(Object(Illuminate\\Http\\Request), Object(Closure))","40 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(9666): call_user_func_array(Array, Array)","41 [internal function]: Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))","42 /opt/bitnami/apps/dreamfactory/htdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\\Http\\Request))","43 /opt/bitnami/apps/dreamfactory/htdocs/vendor/barryvdh/laravel-cors/src/HandleCors.php(42): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))","44 [internal function]: Barryvdh\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))","45 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(9666): call_user_func_array(Array, Array)","46 [internal function]: Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))","47 /opt/bitnami/apps/dreamfactory/htdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\\Http\\Request))","48 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(17368): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))","49 [internal function]: DreamFactory\\Http\\Middleware\\FirstUserCheck->handle(Object(Illuminate\\Http\\Request), Object(Closure))","50 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(9666): call_user_func_array(Array, Array)","51 [internal function]: Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))","52 /opt/bitnami/apps/dreamfactory/htdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\\Http\\Request))","53 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(13113): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))","54 [internal function]: Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure))","55 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(9666): call_user_func_array(Array, Array)","56 [internal function]: Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))","57 /opt/bitnami/apps/dreamfactory/htdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\\Http\\Request))","58 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(11656): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))","59 [internal function]: Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure))","60 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(9666): call_user_func_array(Array, Array)","61 [internal function]: Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))","62 /opt/bitnami/apps/dreamfactory/htdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\\Http\\Request))","63 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(12852): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))","64 [internal function]: Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure))","65 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(9666): call_user_func_array(Array, Array)","66 [internal function]: Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))","67 /opt/bitnami/apps/dreamfactory/htdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\\Http\\Request))","68 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(12789): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))","69 [internal function]: Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure))","70 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(9666): call_user_func_array(Array, Array)","71 [internal function]: Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))","72 /opt/bitnami/apps/dreamfactory/htdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\\Http\\Request))","73 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(3286): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))","74 [internal function]: Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode->handle(Object(Illuminate\\Http\\Request), Object(Closure))","75 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(9666): call_user_func_array(Array, Array)","76 [internal function]: Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))","77 /opt/bitnami/apps/dreamfactory/htdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\\Http\\Request))","78 [internal function]: Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))","79 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(9651): call_user_func(Object(Closure), Object(Illuminate\\Http\\Request))","80 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(2366): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))","81 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(2350): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))","82 /opt/bitnami/apps/dreamfactory/htdocs/public/index.php(53): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))","83 {main}"]}}
It has been working fine until today.
Any idea about what the problem might be?