[Bug]: Argument 1 passed to OC\Core\Controller\ClientFlowLoginV2Controller::grantPage() must be of the type string, null given
⚠️ This issue respects the following points: ⚠️
- [X] This is a bug, not a question or a configuration/webserver/proxy issue.
- [X] This issue is not already reported on Github (I've searched it).
- [X] Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- [X] I agree to follow Nextcloud's Code of Conduct.
Bug description
When Trying to connect nextcloud-client 3.5.0 to nextcloud server 22.2.7 this error appers in the logs
Steps to reproduce
- Start nextcloud client auth process
- Open URL in Browser
- Log in
- Error page appears (log message see above)
Expected behavior
- Start nextcloud client auth process
- Open URL in Browser
- Log in
- See grant page.
- Login in client suceeds
Installation method
Manual installation
Operating system
Other
PHP engine version
PHP 7.3
Web server
Nginx
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Updated to a major version (ex. 22.2.3 to 23.0.1)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
- [X] Default user-backend (database)
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
Configuration report
{
"system": {
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"nextcloud.my.domain",
"192.168.100.107"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"overwrite.cli.url": "https:\/\/nextcloud.my.domain",
"dbtype": "mysql",
"version": "22.2.7.1",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"log_type": "syslog",
"log_level": 2,
"log_timezone": "UTC",
"syslog_tag": "nextcloud",
"overwritehost": "nextcloud.my.domain",
"maintenance": false,
"theme": "",
"loglevel": 0,
"app_install_overwrite": [
"files_external_dropbox"
],
"updater.release.channel": "stable",
"mysql.utf8mb4": true,
"default_phone_region": "CH",
"updater.secret": "***REMOVED SENSITIVE VALUE***"
}
}
List of activated Apps
Enabled:
- accessibility: 1.8.0
- activity: 2.15.0
- bookmarks: 10.3.1
- calendar: 3.3.0
- cloud_federation_api: 1.5.0
- comments: 1.12.0
- contacts: 4.1.0
- contactsinteraction: 1.3.0
- dashboard: 7.2.0
- dav: 1.20.0
- drawio: 1.0.2
- federatedfilesharing: 1.12.0
- federation: 1.12.0
- files: 1.17.0
- files_external: 1.13.1
- files_markdown: 2.3.6
- files_pdfviewer: 2.3.1
- files_rightclick: 1.1.0
- files_sharing: 1.14.0
- files_trashbin: 1.12.0
- files_versions: 1.15.0
- files_videoplayer: 1.11.0
- firstrunwizard: 2.11.0
- logreader: 2.7.0
- lookup_server_connector: 1.10.0
- nextcloud_announcements: 1.11.0
- notifications: 2.10.1
- oauth2: 1.10.0
- password_policy: 1.12.0
- photos: 1.4.0
- privacy: 1.6.0
- provisioning_api: 1.12.0
- recommendations: 1.1.0
- serverinfo: 1.12.0
- settings: 1.4.0
- sharebymail: 1.12.0
- spreed: 12.2.5
- support: 1.5.0
- survey_client: 1.10.0
- systemtags: 1.12.0
- text: 3.3.1
- theming: 1.13.0
- twofactor_backupcodes: 1.11.0
- updatenotification: 1.12.0
- user_status: 1.2.0
- viewer: 1.6.0
- weather_status: 1.2.0
- workflowengine: 2.4.0
Disabled:
- admin_audit
- circles: 0.17.10
- encryption
- user_ldap
Nextcloud Signing status
No errors have been found.
Nextcloud Logs
May 13 17:46:18 nextcloud nextcloud[10824]: [ID 197553 user.error] {"reqId":"SUX5E66v1INPXc1TwypC","level":3,"time":"2022-05-13T15:46:18+00:00","remoteAddr":"192.168.10.10","user":"toast","app":"index","method":"GET","url":"/login/v2/grant","message":"{\"Exception\":\"Exception\",\"Message\":\"Argument 1 passed to OC\\\\Core\\\\Controller\\\\ClientFlowLoginV2Controller::grantPage() must be of the type string, null given, called in /opt/nextcloud/lib/private/AppFramework/Http/Dispatcher.php on line 217\",\"Code\":0,\"Trace\":[{\"file\":\"/opt/nextcloud/lib/private/AppFramework/App.php\",\"line\":156,\"function\":\"dispatch\",\"class\":\"OC\\\\AppFramework\\\\Http\\\\Dispatcher\",\"type\":\"->\",\"args\":[{\"__class__\":\"OC\\\\Core\\\\Controller\\\\ClientFlowLoginV2Controller\"},\"grantPage\"]},{\"file\":\"/opt/nextcloud/lib/private/Route/Router.php\",\"line\":302,\"function\":\"main\",\"class\":\"OC\\\\AppFramework\\\\App\",\"type\":\"::\",\"args\":[\"OC\\\\Core\\\\Controller\\\\ClientFlowLoginV2Controller\
May 13 17:50:38 nextcloud nextcloud[10839]: [ID 197553 user.error] {"reqId":"jvLQkZhfS25TM4KaXrV0","level":3,"time":"2022-05-13T15:50:38+00:00","remoteAddr":"192.168.10.10","user":"toast","app":"index","method":"GET","url":"/login/v2/grant","message":"{\"Exception\":\"Exception\",\"Message\":\"Argument 1 passed to OC\\\\Core\\\\Controller\\\\ClientFlowLoginV2Controller::grantPage() must be of the type string, null given, called in /opt/nextcloud/lib/private/AppFramework/Http/Dispatcher.php on line 217\",\"Code\":0,\"Trace\":[{\"file\":\"/opt/nextcloud/lib/private/AppFramework/App.php\",\"line\":156,\"function\":\"dispatch\",\"class\":\"OC\\\\AppFramework\\\\Http\\\\Dispatcher\",\"type\":\"->\",\"args\":[{\"__class__\":\"OC\\\\Core\\\\Controller\\\\ClientFlowLoginV2Controller\"},\"grantPage\"]},{\"file\":\"/opt/nextcloud/lib/private/Route/Router.php\",\"line\":302,\"function\":\"main\",\"class\":\"OC\\\\AppFramework\\\\App\",\"type\":\"::\",\"args\":[\"OC\\\\Core\\\\Controller\\\\ClientFlowLoginV2Controller\
May 13 19:21:14 nextcloud nextcloud[11127]: [ID 197553 user.error] {"reqId":"WxTNlsSs7kgjQeMeW6eT","level":3,"time":"2022-05-13T17:21:14+00:00","remoteAddr":"192.168.10.10","user":"--","app":"PHP","method":"POST","url":"/login/v2/poll","message":"{\"Exception\":\"Error\",\"Message\":\"include(/opt/nextcloud/3rdparty/composer/../punic/punic/code/Exception/DataFileNotFound.php): failed to open stream: No such file or directory at /opt/nextcloud/lib/composer/composer/ClassLoader.php#480\",\"Code\":0,\"Trace\":[{\"file\":\"/opt/nextcloud/lib/composer/composer/ClassLoader.php\",\"line\":480,\"function\":\"onError\",\"class\":\"OC\\\\Log\\\\ErrorHandler\",\"type\":\"::\",\"args\":[2,\"include(/opt/nextcloud/3rdparty/composer/../punic/punic/code/Exception/DataFileNotFound.php): failed to open stream: No such file or directory\",\"/opt/nextcloud/lib/composer/composer/ClassLoader.php\",480,{\"file\":\"/opt/nextcloud/3rdparty/composer/../punic/punic/code/Exception/DataFileNotFound.php\"}]},{\"file\":\"/opt/nextcloud/
May 13 19:21:14 nextcloud nextcloud[11127]: [ID 197553 user.error] {"reqId":"WxTNlsSs7kgjQeMeW6eT","level":3,"time":"2022-05-13T17:21:14+00:00","remoteAddr":"192.168.10.10","user":"--","app":"PHP","method":"POST","url":"/login/v2/poll","message":"{\"Exception\":\"Error\",\"Message\":\"include(): Failed opening '/opt/nextcloud/3rdparty/composer/../punic/punic/code/Exception/DataFileNotFound.php' for inclusion (include_path='/opt/nextcloud/3rdparty/pear/archive_tar:/opt/nextcloud/3rdparty/pear/console_getopt:/opt/nextcloud/3rdparty/pear/pear-core-minimal/src:/opt/nextcloud/3rdparty/pear/pear_exception:/opt/nextcloud/apps') at /opt/nextcloud/lib/composer/composer/ClassLoader.php#480\",\"Code\":0,\"Trace\":[{\"file\":\"/opt/nextcloud/lib/composer/composer/ClassLoader.php\",\"line\":480,\"function\":\"onError\",\"class\":\"OC\\\\Log\\\\ErrorHandler\",\"type\":\"::\",\"args\":[2,\"include(): Failed opening '/opt/nextcloud/3rdparty/composer/../punic/punic/code/Exception/DataFileNotFound.php' for inclusion (include
May 13 19:21:14 nextcloud nextcloud[11127]: [ID 197553 user.error] {"reqId":"WxTNlsSs7kgjQeMeW6eT","level":3,"time":"2022-05-13T17:21:14+00:00","remoteAddr":"192.168.10.10","user":"--","app":"index","method":"POST","url":"/login/v2/poll","message":"{\"Exception\":\"Error\",\"Message\":\"Class 'Punic\\\\Exception\\\\DataFileNotFound' not found\",\"Code\":0,\"Trace\":[{\"file\":\"/opt/nextcloud/3rdparty/punic/punic/code/Data.php\",\"line\":465,\"function\":\"getGeneric\",\"class\":\"Punic\\\\Data\",\"type\":\"::\",\"args\":[\"parentLocales\"]},{\"file\":\"/opt/nextcloud/3rdparty/punic/punic/code/Data.php\",\"line\":529,\"function\":\"explodeLocale\",\"class\":\"Punic\\\\Data\",\"type\":\"::\",\"args\":[\"en\"]},{\"file\":\"/opt/nextcloud/3rdparty/punic/punic/code/Data.php\",\"line\":503,\"function\":\"getLocaleAlternatives\",\"class\":\"Punic\\\\Data\",\"type\":\"::\",\"args\":[\"en\"]},{\"file\":\"/opt/nextcloud/3rdparty/punic/punic/code/Data.php\",\"line\":142,\"function\":\"getLocaleFolder\",\"class\":\"Pu
May 13 20:26:42 nextcloud php-fpm[3529]: [ID 197553 daemon.notice] [NOTICE] Terminating ...
May 13 20:26:42 nextcloud php-fpm[3529]: [ID 197553 daemon.notice] [NOTICE] exiting, bye-bye!
May 13 20:26:42 nextcloud php-fpm[11375]: [ID 197553 daemon.notice] [NOTICE] [pool www] 'user' directive is ignored when FPM is not running as root
May 13 20:26:42 nextcloud php-fpm[11375]: [ID 197553 daemon.notice] [NOTICE] [pool www] 'group' directive is ignored when FPM is not running as root
May 13 20:26:42 nextcloud php-fpm[11375]: [ID 197553 daemon.notice] [NOTICE] fpm is running, pid 11375
May 13 20:26:42 nextcloud php-fpm[11375]: [ID 197553 daemon.notice] [NOTICE] ready to handle connections
May 13 20:27:17 nextcloud nextcloud[11385]: [ID 197553 user.error] {"reqId":"fRbfVVtiXFyPANOtYpo1","level":3,"time":"2022-05-13T18:27:17+00:00","remoteAddr":"192.168.10.10","user":"toast","app":"index","method":"GET","url":"/login/v2/grant","message":"{\"Exception\":\"Exception\",\"Message\":\"Argument 1 passed to OC\\\\Core\\\\Controller\\\\ClientFlowLoginV2Controller::grantPage() must be of the type string, null given, called in /opt/nextcloud/lib/private/AppFramework/Http/Dispatcher.php on line 217\",\"Code\":0,\"Trace\":[{\"file\":\"/opt/nextcloud/lib/private/AppFramework/App.php\",\"line\":156,\"function\":\"dispatch\",\"class\":\"OC\\\\AppFramework\\\\Http\\\\Dispatcher\",\"type\":\"->\",\"args\":[{\"__class__\":\"OC\\\\Core\\\\Controller\\\\ClientFlowLoginV2Controller\"},\"grantPage\"]},{\"file\":\"/opt/nextcloud/lib/private/Route/Router.php\",\"line\":302,\"function\":\"main\",\"class\":\"OC\\\\AppFramework\\\\App\",\"type\":\"::\",\"args\":[\"OC\\\\Core\\\\Controller\\\\ClientFlowLoginV2Controller\
Additional info
No response
Hi, please update to at least 23.0.12 and report back if it fixes the issue. Thank you!
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.
This is still a thing on v25.0.2.
{
"reqId": "LBMbVwYJHQOSsMAFyDoA",
"level": 3,
"time": "2022-12-29T18:31:31+01:00",
"app": "index",
"method": "GET",
"url": "/login/v2/grant?",
"message": "OC\\Core\\Controller\\ClientFlowLoginV2Controller::grantPage(): Argument #1 ($stateToken) must be of type string, null given, called in /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php on line 225 in file '/var/www/nextcloud/core/Controller/ClientFlowLoginV2Controller.php' line 152",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:108.0) Gecko/20100101 Firefox/108.0",
"version": "25.0.2.3",
"exception": {
"Exception": "Exception",
"Message": "OC\\Core\\Controller\\ClientFlowLoginV2Controller::grantPage(): Argument #1 ($stateToken) must be of type string, null given, called in /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php on line 225 in file '/var/www/nextcloud/core/Controller/ClientFlowLoginV2Controller.php' line 152",
"Code": 0,
"Trace": [
{
"file": "/var/www/nextcloud/lib/private/AppFramework/App.php",
"line": 172,
"function": "dispatch",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->",
"args": [
{
"__class__": "OC\\Core\\Controller\\ClientFlowLoginV2Controller"
},
"grantPage"
]
},
{
"file": "/var/www/nextcloud/lib/private/Route/Router.php",
"line": 298,
"function": "main",
"class": "OC\\AppFramework\\App",
"type": "::",
"args": [
"OC\\Core\\Controller\\ClientFlowLoginV2Controller",
"grantPage",
{
"__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer"
},
[
"core.ClientFlowLoginV2.grantPage"
]
]
},
{
"file": "/var/www/nextcloud/lib/base.php",
"line": 1047,
"function": "match",
"class": "OC\\Route\\Router",
"type": "->",
"args": [
"/login/v2/grant"
]
},
{
"file": "/var/www/nextcloud/index.php",
"line": 36,
"function": "handleRequest",
"class": "OC",
"type": "::",
"args": []
}
],
"File": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
"Line": 165,
"Previous": {
"Exception": "TypeError",
"Message": "OC\\Core\\Controller\\ClientFlowLoginV2Controller::grantPage(): Argument #1 ($stateToken) must be of type string, null given, called in /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php on line 225",
"Code": 0,
"Trace": [
{
"file": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
"line": 225,
"function": "grantPage",
"class": "OC\\Core\\Controller\\ClientFlowLoginV2Controller",
"type": "->",
"args": [
null
]
},
{
"file": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
"line": 133,
"function": "executeController",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->",
"args": [
{
"__class__": "OC\\Core\\Controller\\ClientFlowLoginV2Controller"
},
"grantPage"
]
},
{
"file": "/var/www/nextcloud/lib/private/AppFramework/App.php",
"line": 172,
"function": "dispatch",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->",
"args": [
{
"__class__": "OC\\Core\\Controller\\ClientFlowLoginV2Controller"
},
"grantPage"
]
},
{
"file": "/var/www/nextcloud/lib/private/Route/Router.php",
"line": 298,
"function": "main",
"class": "OC\\AppFramework\\App",
"type": "::",
"args": [
"OC\\Core\\Controller\\ClientFlowLoginV2Controller",
"grantPage",
{
"__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer"
},
[
"core.ClientFlowLoginV2.grantPage"
]
]
},
{
"file": "/var/www/nextcloud/lib/base.php",
"line": 1047,
"function": "match",
"class": "OC\\Route\\Router",
"type": "->",
"args": [
"/login/v2/grant"
]
},
{
"file": "/var/www/nextcloud/index.php",
"line": 36,
"function": "handleRequest",
"class": "OC",
"type": "::",
"args": []
}
],
"File": "/var/www/nextcloud/core/Controller/ClientFlowLoginV2Controller.php",
"Line": 152
},
"CustomMessage": "--"
},
"id": "63af16b18f679"
}
I am having exactly the same problem. What information can I provide to help diagnose this?
I have just this week spun up the latest NextCloud docker release. It's a blank/fresh install. All I have done is install the Calendar and Contacts app, then tried to install the DAVx client on an Android device and I can't log in to the Nextcloud server from the DAVx client I get the same error:
[index] Fehler: Exception: OC\Core\Controller\ClientFlowLoginV2Controller::grantPage(): Argument #1 ($stateToken) must be of type string, null given, called in /var/www/html/lib/private/AppFramework/Http/Dispatcher.php on line 225 in file '/var/www/html/core/Controller/ClientFlowLoginV2Controller.php' line 152 at <<closure>>
0. /var/www/html/lib/private/AppFramework/App.php line 172
OC\AppFramework\Http\Dispatcher->dispatch(OC\Core\Controll ... {}, "grantPage")
1. /var/www/html/lib/private/Route/Router.php line 298
OC\AppFramework\App::main("OC\\Core\\Contr ... r", "grantPage", OC\AppFramework\ ... {}, ["core.ClientFlowLoginV2.grantPage"])
2. /var/www/html/lib/base.php line 1047
OC\Route\Router->match("/login/v2/grant")
3. /var/www/html/index.php line 36
OC::handleRequest()
GET /login/v2/grant?
from 2003:x:x:x::1 by MYUSERNAME at 2023-01-06T09:14:44+00:00
I am using a self signed HTTPS cert. This is my Nextconf config:
<?php
$CONFIG = array (
'htaccess.RewriteBase' => '/',
'memcache.local' => '\\OC\\Memcache\\APCu',
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/html/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/www/html/custom_apps',
'url' => '/custom_apps',
'writable' => true,
),
),
'passwordsalt' => 'xxxxx',
'secret' => 'xxxxx',
'trusted_domains' =>
array (
0 => 'localhost',
1 => 'xxxxx',
2 => 'xxxxx',
3 => 'xxxxx',
4 => 'xxxxx',
5 => 'xxxxx',
),
'datadirectory' => '/var/www/html/data',
'dbtype' => 'mysql',
'version' => '25.0.2.3',
'overwrite.cli.url' => 'https://xxxxx.yyy/',
'overwriteprotocol' => 'https',
'dbname' => 'xxxxx',
'dbhost' => 'mysql',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'xxxxx',
'dbpassword' => 'xxxxx',
'installed' => true,
'instanceid' => 'ocqhinxtrl8s',
);
Here is a screenshot from the client. If you don't speak German, it's just a generic error message which states there was an internal server error ("the server could not complete the request"), with the client IP and query ID.

I confirm exactly the same issue during registering new NextCloud Windows client. All previously registered clients are working fine, just new ones cannot be registered. Latest version 25.0.2 (upgrade) Debian Linux, Maria DB, Apache, PHP + FPM.
Error log: {"reqId":"Y8W6sLJHX2HA2w0R3OF3xgAAAAA","level":3,"time":"2023-01-16T20:59:29+00:00","remoteAddr":"REMOVED","user":"REMOVED","app":"index","method":"GET","url":"/nextcloud/index.php/login/v2/grant?","message":"Argument 1 passed to OC\Core\Controller\ClientFlowLoginV2Controller::grantPage() must be of the type string, null given, called in /var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php on line 225 in file '/var/www/html/nextcloud/core/Controller/ClientFlowLoginV2Controller.php' line 152","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36","version":"25.0.2.3","exception":{"Exception":"Exception","Message":"Argument 1 passed to OC\Core\Controller\ClientFlowLoginV2Controller::grantPage() must be of the type string, null given, called in /var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php on line 225 in file '/var/www/html/nextcloud/core/Controller/ClientFlowLoginV2Controller.php' line 152","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/lib/private/AppFramework/App.php","line":172,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Route/Router.php","line":298,"function":"main","class":"OC\AppFramework\App","type":"::"},{"file":"/var/www/html/nextcloud/lib/base.php","line":1047,"function":"match","class":"OC\Route\Router","type":"->"},{"file":"/var/www/html/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","Line":165,"Previous":{"Exception":"TypeError","Message":"Argument 1 passed to OC\Core\Controller\ClientFlowLoginV2Controller::grantPage() must be of the type string, null given, called in /var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php on line 225","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":225,"function":"grantPage","class":"OC\Core\Controller\ClientFlowLoginV2Controller","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":133,"function":"executeController","class":"OC\AppFramework\Http\Dispatcher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/App.php","line":172,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Route/Router.php","line":298,"function":"main","class":"OC\AppFramework\App","type":"::"},{"file":"/var/www/html/nextcloud/lib/base.php","line":1047,"function":"match","class":"OC\Route\Router","type":"->"},{"file":"/var/www/html/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/nextcloud/core/Controller/ClientFlowLoginV2Controller.php","Line":152},"CustomMessage":"--"}}
I faced this problem/bug today after changing my password, I'll describe my actions to overcome it although I'm not sure if they were really effective or if it was a self-solved bug:
I copied and opened the authorization link provided by the customer in the browser. After the first page it redirects to another page and I noticed that the URL had a GET "User=" argument (or similar, without the value). I put my user in front of it "User=myuser" and pressed the enter key. So I gave the permissions. After that, I opened the authorization link provided by the client again, followed the normal procedure and the client was authenticated.
Hope these steps help.
Client version 3.7.3 (Appimage) Nextcloud 25.0.3
Same issue on 25.0.4, so not backported yet?
Seems to be aclient issue as by the above comment. As it is true that argument 1 (User) is null. Which it must not be.
Backport up for v25.0.5: #36806 Would be nice if someone could verify this PR really fixes the issue.
Backport up for v25.0.5: #36806 Would be nice if someone could verify this PR really fixes the issue.
Copied the backport over my 25.0.4 instance, tried to login with AntennaPod (GPodderSync-App), input fields for Username/Password were missing, but login with app credentials worked.
Did you clear the client/browser cache? Because a JavaScript file is responsible for enabling the login form.
No, was on mobile Firefox. Tried with a private browsing window now, works.