Hello,
i got a weird Login error that affects only Login Flow V1 it seems. I can login on the Desktop on Nexcloud 16 and onwards (tested 14 and up) through Flow V2. The Owncloud Client also works, it seems to use a legacy URL insteed of App-Tokens.
It seems to be a redirection Problem, if i logon via a Client i can enter Credentials to authenticate. There is also created a App Token for each Login attempt but the Client doesnt get the Information that the Login succedeed. After a Login attempt iam back at the main Nextcloud Login, can Login and browse through nextcloud in the Webview like in a normal Browser.
It seems that the URL is invalid and i am redirected to the login page.
The Login Flow Documentation wants this URL style:
nc://login/server:&user:&password:
but the URL (httpd log) is following:
GET /testcloud&user:admin&password:3pLqM1VTSEq6Gn1C96UXrQldQlUQYg3PvhXReingeJCPhZ26k5DeGarJEzrQ0efv6E9jRyww HTTP/1.1" 302 - â-â
Server Configuration:
Client Android (uses flow v1) -> Pound Reverse Proxy for https -> Nextcloud on FreeBSD (FAMP)
My Config.php:
<?php
$CONFIG = array (
âapps_pathsâ =>
array (
0 =>
array (
âpathâ => â/usr/local/www/nextcloud/appsâ,
âurlâ => â/appsâ,
âwritableâ => true,
),
1 =>
array (
âpathâ => â/usr/local/www/nextcloud/apps-pkgâ,
âurlâ => â/apps-pkgâ,
âwritableâ => false,
),
),
âlogfileâ => â/var/log/nextcloud/nextcloud.logâ,
âmemcache.localâ => â\OC\Memcache\APCuâ,
âpasswordsaltâ =>
âsecretâ =>
âtrusted_domainsâ =>
array (
0 => âsecure.host.deâ,
),
âdatadirectoryâ => â/home/www/nextcloud_dataâ,
âdbtypeâ => âmysqlâ,
âversionâ => â18.0.3.0â,
âoverwrite.cli.urlâ => âhttps://secure.host.deâ,
âdbnameâ => âNextcloudDBâ,
âdbhostâ => âlocalhost:/tmp/mysql.sockâ,
âdbportâ => ââ,
âdbtableprefixâ => âoc_â,
âmysql.utf8mb4â => true,
âdbuserâ => ânextclouduserâ,
âdbpasswordâ =>
âinstalledâ => true,
âinstanceidâ =>
âlogtimezoneâ => âEurope/Berlinâ,
âlog_typeâ => âfileâ,
âloglevelâ => â2â,
âlogrotate_sizeâ => â104847600â,
# âhtaccess.RewriteBaseâ => â/testcloudâ, results on Error 403
âoverwriteprotocolâ => âhttpsâ,
âoverwritehostâ => âsecure.host.deâ,
âoverwritewebrootâ => â/testcloudâ,
âforwarded_for_headersâ =>
array (
0 => âHTTP_X_FORWARDEDâ,
1 => âHTTP_FORWARDED_FORâ,
),
âupdater.secretâ => â$2y$10$AMGG2FG4qSGQ4BD1pXDRsuJDirlyE3VNoi.JkpGAz80HwsNIEwTOyâ,
âmaintenanceâ => false,
);
Maybe anyone get a Idea for this, thanks in Advance