XF 2.3 Struggling to connect XF SSO to Nextcloud

rkxh

Member
I am trying to offer XenForo as a log-in on Nextcloud.
For that purpose I gave permission to read user data and installed this plugin in my Nextcloud instance:

As some of the issues recommend I tried to setup XenForo both as Oauth2 and OIDC.
I get to the point where XenForo asks for permission, however, when I try to grant the permission I am greated with this error log:
Code:
{"reqId":"fNRKipTyhpLgxflbgKCl","level":0,"time":"July 08, 2024 22:10:34","remoteAddr":"79.245.52.230","user":"--","app":"PHP","method":"GET","url":"/apps/sociallogin/custom_oauth2/XenForo?code=4-HJkSDupLE9pKKEuPmREtGMQoTWwJBL&state=HA-FUVSPM7AXD51TEN0ORHJKYCG93ZW2QIBL684","message":"rtrim(): Passing null to parameter #1 ($string) of type string is deprecated at /home/cloud/public_html/apps/sociallogin/lib/Service/ProviderService.php#357","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:127.0) Gecko/20100101 Firefox/127.0","version":"29.0.3.4","data":{"app":"PHP"}}

On OIDC it is this:
Code:
{"reqId":"4ZM1Mr9s8Wtft1en1xaS","level":0,"time":"July 08, 2024 22:10:52","remoteAddr":"79.245.52.230","user":"--","app":"no app in context","method":"GET","url":"/login?clear=1","message":"The loading of lazy AppConfig values have been requested","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:127.0) Gecko/20100101 Firefox/127.0","version":"29.0.3.4","exception":{"Exception":"RuntimeException","Message":"ignorable exception","Code":0,"Trace":[{"file":"/home/cloud/public_html/lib/private/AppConfig.php","line":1208,"function":"loadConfig","class":"OC\\AppConfig","type":"->"},{"file":"/home/cloud/public_html/lib/private/AppConfig.php","line":127,"function":"loadConfigAll","class":"OC\\AppConfig","type":"->"},{"file":"/home/cloud/public_html/lib/private/AllConfig.php","line":196,"function":"getKeys","class":"OC\\AppConfig","type":"->"},{"file":"/home/cloud/public_html/lib/private/Security/Bruteforce/Throttler.php","line":120,"function":"getAppKeys","class":"OC\\AllConfig","type":"->"},{"file":"/home/cloud/public_html/lib/private/Security/Bruteforce/Throttler.php","line":200,"function":"isBypassListed","class":"OC\\Security\\Bruteforce\\Throttler","type":"->"},{"file":"/home/cloud/public_html/lib/private/Security/Bruteforce/Throttler.php","line":217,"function":"getAttempts","class":"OC\\Security\\Bruteforce\\Throttler","type":"->"},{"file":"/home/cloud/public_html/core/Controller/LoginController.php","line":176,"function":"getDelay","class":"OC\\Security\\Bruteforce\\Throttler","type":"->"},{"file":"/home/cloud/public_html/lib/private/AppFramework/Http/Dispatcher.php","line":232,"function":"showLoginForm","class":"OC\\Core\\Controller\\LoginController","type":"->"},{"file":"/home/cloud/public_html/lib/private/AppFramework/Http/Dispatcher.php","line":138,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/home/cloud/public_html/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/home/cloud/public_html/lib/private/Route/Router.php","line":338,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/home/cloud/public_html/lib/base.php","line":1050,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/home/cloud/public_html/index.php","line":49,"function":"handleRequest","class":"OC","type":"::"}],"File":"/home/cloud/public_html/lib/private/AppConfig.php","Line":1222,"message":"The loading of lazy AppConfig values have been requested","exception":{},"CustomMessage":"The loading of lazy AppConfig values have been requested"}}

Here my config:
OIDC
1720476948489.webp

OAuth2:
1720477014884.webp
 
Back
Top Bottom