From 63c93aab1fc50d16c7606590f415b012fbe32dd3 Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Fri, 16 Apr 2021 10:59:41 +0300 Subject: [PATCH] Added JWT auth to client SDKs --- app/controllers/web/home.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/controllers/web/home.php b/app/controllers/web/home.php index 64517c2d8..cf3f3fe67 100644 --- a/app/controllers/web/home.php +++ b/app/controllers/web/home.php @@ -226,6 +226,12 @@ App::get('/specs/:format') 'description' => 'Your project ID', 'in' => 'header', ], + 'JWT' => [ + 'type' => 'apiKey', + 'name' => 'X-Appwrite-JWT', + 'description' => 'Your secret JSON Web Token', + 'in' => 'header', + ], 'Locale' => [ 'type' => 'apiKey', 'name' => 'X-Appwrite-Locale',