diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-12-14 15:56:07 +0100 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-12-16 13:13:05 +0100 |
commit | 6995223b1ed202c7f8e920e83cb5b53efd7ce761 (patch) | |
tree | 76e839b9c3de3b4751a993f24f35f0cb93c0dbbd /core/routes.php | |
parent | d37034f1612279b07c78284771ac73fbd5a2a407 (diff) | |
download | nextcloud-server-6995223b1ed202c7f8e920e83cb5b53efd7ce761.tar.gz nextcloud-server-6995223b1ed202c7f8e920e83cb5b53efd7ce761.zip |
Add well known handlers API
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'core/routes.php')
-rw-r--r-- | core/routes.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/routes.php b/core/routes.php index 9fa378dc1d8..5bc4075315a 100644 --- a/core/routes.php +++ b/core/routes.php @@ -89,6 +89,9 @@ $application->registerRoutes($this, [ // Logins for passwordless auth ['name' => 'WebAuthn#startAuthentication', 'url' => 'login/webauthn/start', 'verb' => 'POST'], ['name' => 'WebAuthn#finishAuthentication', 'url' => 'login/webauthn/finish', 'verb' => 'POST'], + + // Well known requests https://tools.ietf.org/html/rfc5785 + ['name' => 'WellKnown#handle', 'url' => '.well-known/{service}'], ], 'ocs' => [ ['root' => '/cloud', 'name' => 'OCS#getCapabilities', 'url' => '/capabilities', 'verb' => 'GET'], |