aboutsummaryrefslogtreecommitdiffstats
path: root/core/routes.php
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-03-27 10:37:22 +0100
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-10-19 10:02:51 +0200
commitbd303388e3d4dae90c2266d183395db8321c11de (patch)
treefddc23eff000713596cd024914667320c8c1312e /core/routes.php
parentd5edcf8c9570618d9008b355b7f432575ff9d357 (diff)
downloadnextcloud-server-bd303388e3d4dae90c2266d183395db8321c11de.tar.gz
nextcloud-server-bd303388e3d4dae90c2266d183395db8321c11de.zip
Cleanup ie and old edge properties
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/routes.php')
-rw-r--r--core/routes.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/routes.php b/core/routes.php
index 820db44bf90..02e27c9cfaf 100644
--- a/core/routes.php
+++ b/core/routes.php
@@ -58,11 +58,13 @@ $application->registerRoutes($this, [
['name' => 'login#confirmPassword', 'url' => '/login/confirm', 'verb' => 'POST'],
['name' => 'login#showLoginForm', 'url' => '/login', 'verb' => 'GET'],
['name' => 'login#logout', 'url' => '/logout', 'verb' => 'GET'],
+
// Original login flow used by all clients
['name' => 'ClientFlowLogin#showAuthPickerPage', 'url' => '/login/flow', 'verb' => 'GET'],
['name' => 'ClientFlowLogin#generateAppPassword', 'url' => '/login/flow', 'verb' => 'POST'],
['name' => 'ClientFlowLogin#grantPage', 'url' => '/login/flow/grant', 'verb' => 'GET'],
['name' => 'ClientFlowLogin#apptokenRedirect', 'url' => '/login/flow/apptoken', 'verb' => 'POST'],
+
// NG login flow used by desktop client in case of Kerberos/fancy 2fa (smart cards for example)
['name' => 'ClientFlowLoginV2#poll', 'url' => '/login/v2/poll', 'verb' => 'POST'],
['name' => 'ClientFlowLoginV2#showAuthPickerPage', 'url' => '/login/v2/flow', 'verb' => 'GET'],
@@ -97,6 +99,9 @@ $application->registerRoutes($this, [
// Well known requests https://tools.ietf.org/html/rfc5785
['name' => 'WellKnown#handle', 'url' => '.well-known/{service}'],
+
+ // Unsupported browser
+ ['name' => 'UnsupportedBrowser#index', 'url' => 'unsupported'],
],
'ocs' => [
['root' => '/cloud', 'name' => 'OCS#getCapabilities', 'url' => '/capabilities', 'verb' => 'GET'],