-
-
Notifications
You must be signed in to change notification settings - Fork 983
Closed
nextcloud/server
#51544Labels
Description
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Steps to reproduce
1.Download ios app 6.4.0
2. enter server url
3. enter username and password
4. Internal server error and MFA never comes up.
Logs
{"reqId":"j0plWoCWwA5ttNZUwwqJ","level":3,"time":"2025-03-14T15:47:45-05:00","remoteAddr":"10.2.2.1","user":false,"app":"index","method":"GET","url":"/login/selectchallenge?redirect_url=/login/v2/grant?user%3D%26direct%3D0%26stateToken%3D2h9WGQUCHj5VL8O1QKDGFrhouENFSucWz3Hi0NgXhSfdichzBZYgDjPgLXWjDhAr","message":"OC\\Authentication\\TwoFactorAuth\\Manager::getProviderSet(): Argument #1 ($user) must be of type OCP\\IUser, null given, called in /var/www/nextcloud/core/Controller/TwoFactorChallengeController.php on line 79 in file '/var/www/nextcloud/lib/private/Authentication/TwoFactorAuth/Manager.php' line 211","userAgent":"iPhone (Nextcloud iOS)","version":"31.0.1.2","exception":{"Exception":"Exception","Message":"OC\\Authentication\\TwoFactorAuth\\Manager::getProviderSet(): Argument #1 ($user) must be of type OCP\\IUser, null given, called in /var/www/nextcloud/core/Controller/TwoFactorChallengeController.php on line 79 in file '/var/www/nextcloud/lib/private/Authentication/TwoFactorAuth/Manager.php' line 211","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":307,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1022,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":24,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","Line":146,"Previous":{"Exception":"TypeError","Message":"OC\\Authentication\\TwoFactorAuth\\Manager::getProviderSet(): Argument #1 ($user) must be of type OCP\\IUser, null given, called in /var/www/nextcloud/core/Controller/TwoFactorChallengeController.php on line 79","Code":0,"Trace":[{"file":"/var/www/nextcloud/core/Controller/TwoFactorChallengeController.php","line":79,"function":"getProviderSet","class":"OC\\Authentication\\TwoFactorAuth\\Manager","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":200,"function":"selectChallenge","class":"OC\\Core\\Controller\\TwoFactorChallengeController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":114,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":307,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1022,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":24,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/lib/private/Authentication/TwoFactorAuth/Manager.php","Line":211},"message":"OC\\Authentication\\TwoFactorAuth\\Manager::getProviderSet(): Argument #1 ($user) must be of type OCP\\IUser, null given, called in /var/www/nextcloud/core/Controller/TwoFactorChallengeController.php on line 79 in file '/var/www/nextcloud/lib/private/Authentication/TwoFactorAuth/Manager.php' line 211","exception":[],"CustomMessage":"OC\\Authentication\\TwoFactorAuth\\Manager::getProviderSet(): Argument #1 ($user) must be of type OCP\\IUser, null given, called in /var/www/nextcloud/core/Controller/TwoFactorChallengeController.php on line 79 in file '/var/www/nextcloud/lib/private/Authentication/TwoFactorAuth/Manager.php' line 211"},"id":"67d495f48aab3"}
Reasoning or why should it be changed/implemented?
Environment data
iOS version: e.g. iOS 17.6.1
Nextcloud iOS app version: see More > Settings
Server operating system:
Web server: Apache, nginx
Database:
PHP version:
Nextcloud version: see Nextcloud admin page