"Call to undefined function lib\\oauth\\curl_init()" when using facebook oauth2 #2021-0-18_22-41-6

OS info

Problem description

Getting the error when I open tlogin oauth2 to facebook in a browser

Steps to reproduce

  1. make a fb oauth2 login and open it in a browser

Everything seems ok in the server side authorization

Error message

file “/var/www/html/ykb/dmxConnectLib/lib/oauth/Oauth2.php”
line 336
message “Call to undefined function lib\oauth\curl_init()”
trace #0 /var/www/html/ykb/dmxConnectLib/lib/oauth/Oauth2.php(256): lib\oauth\Oauth2->httpPost()\n#1 /var/www/html/ykb/dmxConnectLib/lib/oauth/Oauth2.php(230): lib\oauth\Oauth2->grant()\n#2 /var/www/html/ykb/dmxConnectLib/modules/oauth.php(24): lib\oauth\Oauth2->authorize()\n#3 /var/www/html/ykb/dmxConnectLib/lib/App.php(193): modules\oauth->authorize()\n#4 /var/www/html/ykb/dmxConnectLib/lib/App.php(157): lib\App->execSteps()\n#5 /var/www/html/ykb/dmxConnectLib/lib/App.php(127): lib\App->execSteps()\n#6 /var/www/html/ykb/dmxConnectLib/lib/App.php(94): lib\App->exec()\n#7 /var/www/html/ykb/dmxConnect/api/sikkerhet/fblogin.php(8): lib\App->define()\n#8 {main}”
Community Page
Last updated: