From f537036cd7597584fc217e186a01e88979afd0e7 Mon Sep 17 00:00:00 2001 From: rvitmnotes <122286061+rvitmnotes@users.noreply.github.com> Date: Sat, 20 May 2023 17:29:39 +0530 Subject: [PATCH] Update authentication-server.phtml corrected typo --- app/views/docs/authentication-server.phtml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/docs/authentication-server.phtml b/app/views/docs/authentication-server.phtml index 181bd455c..6e345d2a0 100644 --- a/app/views/docs/authentication-server.phtml +++ b/app/views/docs/authentication-server.phtml @@ -209,7 +209,7 @@ client

When Should I Use JWT Auth?

JWT auth is useful when you need your backend app's Server SDK to be restricted by the same set of permissions.

-

If your backend app's Server SDK is using an API key, it will fetch all resources reguardless of permissions. This means the Server SDK might fetch files and documents your user should not be able to see, which is not helpful when you need to act on behalf of a user.

+

If your backend app's Server SDK is using an API key, it will fetch all resources regardless of permissions. This means the Server SDK might fetch files and documents your user should not be able to see, which is not helpful when you need to act on behalf of a user.

If your backend app's Server SDK is using a JWT, it will only fetch resources your user has permissions to access.

@@ -592,7 +592,7 @@ client -

This will return every document reguardless of permissions, which could lead to privacy and security problems.

+

This will return every document regardless of permissions, which could lead to privacy and security problems.

{
@@ -635,4 +635,4 @@ client
 }
-

If you're integrating existing backend services with Appwrite or adding backend endpoints to perform more complex logic, JWT authentication helps them behave similarly to actual Appwrite endpoints.

\ No newline at end of file +

If you're integrating existing backend services with Appwrite or adding backend endpoints to perform more complex logic, JWT authentication helps them behave similarly to actual Appwrite endpoints.