-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Open
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmap25-feedbackbugfeature: authenticationneeds reviewNeeds review to determine if still applicable or covered by other IssuesNeeds review to determine if still applicable or covered by other Issues
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
Use the "Log in with a device" feature to log in. After entering a username, and confirming login by pressing the security key's button, nothing happens and the error below is logged to the nextcloud log file:
Error: OC\Core\Controller\WebAuthnController::finishAuthentication(): Argument #1 ($data) must be of type string, null given, called in /var/www/html/lib/private/AppFramework/Http/Dispatcher.php on line 217 in file '/var/www/html/core/Controller/WebAuthnController.php' line 95
Full raw backtrace
{
"reqId": "N6q5uRPmPfYYHYmNrYzw",
"level": 3,
"time": "2022-01-08T11:00:08+00:00",
"remoteAddr": "10.0.1.254",
"user": "--",
"app": "index",
"method": "POST",
"url": "/login/webauthn/finish",
"message": "OC\\Core\\Controller\\WebAuthnController::finishAuthentication(): Argument #1 ($data) must be of type string, null given, called in /var/www/html/lib/private/AppFramework/Http/Dispatcher.php on line 217 in file '/var/www/html/core/Controller/WebAuthnController.php' line 95",
"userAgent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0",
"version": "23.0.0.10",
"exception": {
"Exception": "Exception",
"Message": "OC\\Core\\Controller\\WebAuthnController::finishAuthentication(): Argument #1 ($data) must be of type string, null given, called in /var/www/html/lib/private/AppFramework/Http/Dispatcher.php on line 217 in file '/var/www/html/core/Controller/WebAuthnController.php' line 95",
"Code": 0,
"Trace": [
{
"file": "/var/www/html/lib/private/AppFramework/App.php",
"line": 157,
"function": "dispatch",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->",
"args": [
{ "__class__": "OC\\Core\\Controller\\WebAuthnController" },
"finishAuthentication"
]
},
{
"file": "/var/www/html/lib/private/Route/Router.php",
"line": 302,
"function": "main",
"class": "OC\\AppFramework\\App",
"type": "::",
"args": [
"OC\\Core\\Controller\\WebAuthnController",
"finishAuthentication",
{ "__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer" },
{ "_route": "core.WebAuthn.finishAuthentication" }
]
},
{
"file": "/var/www/html/lib/base.php",
"line": 1006,
"function": "match",
"class": "OC\\Route\\Router",
"type": "->",
"args": ["/login/webauthn/finish"]
},
{
"file": "/var/www/html/index.php",
"line": 36,
"function": "handleRequest",
"class": "OC",
"type": "::",
"args": []
}
],
"File": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",
"Line": 158,
"Previous": {
"Exception": "TypeError",
"Message": "OC\\Core\\Controller\\WebAuthnController::finishAuthentication(): Argument #1 ($data) must be of type string, null given, called in /var/www/html/lib/private/AppFramework/Http/Dispatcher.php on line 217",
"Code": 0,
"Trace": [
{
"file": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",
"line": 217,
"function": "finishAuthentication",
"class": "OC\\Core\\Controller\\WebAuthnController",
"type": "->",
"args": [null]
},
{
"file": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",
"line": 126,
"function": "executeController",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->",
"args": [
{ "__class__": "OC\\Core\\Controller\\WebAuthnController" },
"finishAuthentication"
]
},
{
"file": "/var/www/html/lib/private/AppFramework/App.php",
"line": 157,
"function": "dispatch",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->",
"args": [
{ "__class__": "OC\\Core\\Controller\\WebAuthnController" },
"finishAuthentication"
]
},
{
"file": "/var/www/html/lib/private/Route/Router.php",
"line": 302,
"function": "main",
"class": "OC\\AppFramework\\App",
"type": "::",
"args": [
"OC\\Core\\Controller\\WebAuthnController",
"finishAuthentication",
{
"__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer"
},
{ "_route": "core.WebAuthn.finishAuthentication" }
]
},
{
"file": "/var/www/html/lib/base.php",
"line": 1006,
"function": "match",
"class": "OC\\Route\\Router",
"type": "->",
"args": ["/login/webauthn/finish"]
},
{
"file": "/var/www/html/index.php",
"line": 36,
"function": "handleRequest",
"class": "OC",
"type": "::",
"args": []
}
],
"File": "/var/www/html/core/Controller/WebAuthnController.php",
"Line": 95
},
"CustomMessage": "--"
},
"id": "61d97135160fd"
}
Server configuration
Operating system: debian
Web server: nginx
Database: mariadb
PHP version: 8.something
Nextcloud version: 23.0.0
Updated from an older Nextcloud/ownCloud or fresh install: updated
Are you using encryption: no
Are you using an external user-backend, if yes which one: no
Client configuration
Browser: Firefox 95
Operating system: Kubuntu 21.10
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmap25-feedbackbugfeature: authenticationneeds reviewNeeds review to determine if still applicable or covered by other IssuesNeeds review to determine if still applicable or covered by other Issues