Linkedin Authentication

Hello, How I can enable Linkedin authentication with Nextcloud. I saw it is the only missing in social login app.

The social login app used Hybridauth3 which seems to support Linkdin. So that should be quite easy to add yourself. But I guess a request on their github issue tracker wouldn’t hurt either.

you need to enable your account to be a “lnkd dev” … and cut/past some code … witch i did not test yet as i use google social login …

Hello,
I’m trying to configure LinkedIn access via Custom OAuth2.
I can achieve API connection, but ultimately the server returns an “INTERNAL ERROR”.
Here the log:

Error: Cannot use object of type stdClass as array

  1. /var/www/html/businesscloud/apps/sociallogin/lib/Controller/LoginController.php - line 214: OCA\SocialLogin\Provider\CustomOAuth2->getUserProfile()
  2. /var/www/html/businesscloud/apps/sociallogin/lib/Controller/LoginController.php - line 200: OCA\SocialLogin\Controller\LoginController->auth(‘OCA\SocialLogin…’, Array, ‘linkedin’, ‘Custom OAuth2’)
  3. [internal function] OCA\SocialLogin\Controller\LoginController->customOauth2(‘linkedin’)
  4. /var/www/html/businesscloud/lib/private/AppFramework/Http/Dispatcher.php- line 161: call_user_func_array(Array, Array)
  5. /var/www/html/businesscloud/lib/private/AppFramework/Http/Dispatcher.php- line 91: OC\AppFramework\Http\Dispatcher->executeController(Object(OCA\SocialLogin\Controller\LoginController), ‘customOauth2’)
  6. /var/www/html/businesscloud/lib/private/AppFramework/App.php - line 115: OC\AppFramework\Http\Dispatcher->dispatch(Object(OCA\SocialLogin\Controller\LoginController), ‘customOauth2’)
  7. /var/www/html/businesscloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47: OC\AppFramework\App main(‘OCA\SocialLogin…’, ‘customOauth2’, Object(OC\AppFramework\DependencyInjection\DIContainer), Array)
  8. [internal function] OC\AppFramework\Routing\RouteActionHandler->__invoke(Array)
  9. /var/www/html/businesscloud/lib/private/Route/Router.php - line 297: call_user_func(Object(OC\AppFramework\Routing\RouteActionHandler), Array)
  10. /var/www/html/businesscloud/lib/base.php - line 999: OC\Route\Router->match(’/apps/sociallog…’)
  11. /var/www/html/businesscloud/index.php - line 42: OC handleRequest()
  12. {main}

Thanks for helping!