Hi there.
Got a self-hosted version of nextcloud up and running with SSO using the social login plugin and Unifi Identity Enterprise. Sign in works flawlessly for desktop and via the web browser and desktop client, but when trying to sign in from the nextcloud mobile apps I am running into sign in issues.
Is there a mobile redirect_URL I am missing that needs to be added in order to auth with the mobile apps? Kinda at a loss as to what I am missing since sign ins work perfectly fine on everything else.
If anyone knows what I am missing or how I can fix this it be greatly appreciated:
Current redirect_url: https://nextcloud.mydomain.com/apps/sociallogin/custom_oidc/UID
activity_scope
user
company_id
xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx
display_message
Failed to sign in
level
normal
publishedOct 02, 16:29:16
reason
The user agent in the HTTP header is not valid.
result
FAILURE
<?php
$CONFIG = array (
'trusted_proxies' =>
array (
0 => '192.166.20.255',
),
'datadirectory' => '/data',
'instanceid' => 'MY_ID',
'passwordsalt' => 'MY_SALT',
'secret' => 'MY_SECRET',
'overwriteprotocol' => 'https',
'allow_local_remote_servers' => true,
'debug' => true,
'trusted_domains' =>
array (
0 => '192.168.20.3',
1 => 'nextcloud.mydomain.com,
),
0 =>
array (
0 => 'nextcloud.mydomain.com',
),
'dbtype' => 'mysql',
'version' => '30.0.0.14',
'overwrite.cli.url' => 'https://nextcloud.mydomain.com',
'dbname' => 'nextcloud',
'dbhost' => '192.168.20.4:5432',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'MY_DB_USER',
'dbpassword' => 'MY_DB_SECRET',
'installed' => true,
'maintenance_window_start' => 1,
'mail_smtpmode' => 'smtp',
'mail_smtpauth' => 1,
'mail_sendmailmode' => 'smtp',
'app_install_overwrite' =>
array (
0 => 'files_antivirus',
1 => 'forms',
),
'memcache.local' => '\\OC\\Memcache\\APCu',
'filelocking.enabled' => true,
'memcache.locking' => '\\OC\\Memcache\\APCu',
'upgrade.disable-web' => true,
'maintenance' => false,
'mail_smtpsecure' => 'ssl',
'mail_smtphost' => 'smtp.my_provider.com',
'mail_smtpport' => '465',
'mail_from_address' => 'nextcloud',
'mail_domain' => 'my_domain.com',
'mail_smtpname' => 'nextcloud@my_domain.com',
'mail_smtppassword' => 'MY_SMTP_SECRET',
'default_phone_region' => 'US',
);