From c0ad6680ca8a4746c872ae59f5d12044aa841a9a Mon Sep 17 00:00:00 2001 From: Azalea Colburn Date: Wed, 24 Jul 2024 14:28:10 -0700 Subject: [PATCH] update token scope --- fission/src/aps/APS.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fission/src/aps/APS.ts b/fission/src/aps/APS.ts index 704ea9068d..c7784f9c8e 100644 --- a/fission/src/aps/APS.ts +++ b/fission/src/aps/APS.ts @@ -126,7 +126,7 @@ class APS { * Logs the user out by setting their auth data to undefined and revoking their auth token. */ static async logout() { - await this.revokeTokenPublic() + await this.revokeTokenPublic() this.auth = undefined } @@ -175,7 +175,7 @@ class APS { response_type: "code", client_id: CLIENT_ID, redirect_uri: callbackUrl, - scope: "data:create", + scope: "data:read", nonce: Date.now().toString(), prompt: "login", code_challenge: challenge,