From 53db05a1f67fc974dba904ec158b2d67fa72df95 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Sun, 9 Feb 2020 20:06:08 +0100 Subject: Start with webauthn Signed-off-by: Roeland Jago Douma Signed-off-by: npmbuildbot[bot] --- core/routes.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core/routes.php') diff --git a/core/routes.php b/core/routes.php index 5fb13bc298a..8d03be05bb3 100644 --- a/core/routes.php +++ b/core/routes.php @@ -86,6 +86,10 @@ $application->registerRoutes($this, [ ['name' => 'Wipe#checkWipe', 'url' => '/core/wipe/check', 'verb' => 'POST'], ['name' => 'Wipe#wipeDone', 'url' => '/core/wipe/success', 'verb' => 'POST'], + // Logins for passwordless auth + ['name' => 'WebAuthn#startAuthentication', 'url' => 'login/webauthn/start', 'verb' => 'POST'], + ['name' => 'WebAuthn#finishAuthentication', 'url' => 'login/webauthn/finish', 'verb' => 'POST'], + // Legacy routes that need to be globally available while they are handled by an app ['name' => 'viewcontroller#showFile', 'url' => '/f/{fileid}', 'verb' => 'GET', 'app' => 'files'], ['name' => 'sharecontroller#showShare', 'url' => '/s/{token}', 'verb' => 'GET', 'app' => 'files_sharing'], -- cgit v1.2.3