diff options
Diffstat (limited to 'apps/oauth2/appinfo/routes.php')
-rw-r--r-- | apps/oauth2/appinfo/routes.php | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/apps/oauth2/appinfo/routes.php b/apps/oauth2/appinfo/routes.php index 84b1336e37e..c9ff6c97828 100644 --- a/apps/oauth2/appinfo/routes.php +++ b/apps/oauth2/appinfo/routes.php @@ -23,13 +23,18 @@ return [ 'routes' => [ [ 'name' => 'Settings#addClient', - 'url' => '/settings', + 'url' => '/clients', 'verb' => 'POST', ], [ + 'name' => 'Settings#getClients', + 'url' => '/clients', + 'verb' => 'GET', + ], + [ 'name' => 'Settings#deleteClient', - 'url' => '/clients/{id}/delete', - 'verb' => 'POST' + 'url' => '/clients/{id}', + 'verb' => 'DELETE' ], [ 'name' => 'LoginRedirector#authorize', |