diff --git a/src/flow/code.html b/src/flow/code.html index e5c8710..abbc2e5 100644 --- a/src/flow/code.html +++ b/src/flow/code.html @@ -97,9 +97,7 @@

scope=

Scopes requested by the client. Scopes are used to limit the access of the access - token. In this case, we are requesting the offline_access scope, - which allows the client to obtain a refresh token, photos to access photos - and files to have access to user files. + token. In this case, we are requesting access to photos and files.

  • @@ -174,7 +172,7 @@ const responseType = "code"; const redirectUri = getRedirectUri(); - const scope = "offline_access%20photos%20files"; + const scope = "photos%20files"; const state = generateSessionState(); setCookie("state", state, 5); diff --git a/src/flow/implicit.html b/src/flow/implicit.html index dc0bddf..bbc4659 100644 --- a/src/flow/implicit.html +++ b/src/flow/implicit.html @@ -90,9 +90,7 @@

    scope=

    Scopes requested by the client. Scopes are used to limit the access of the access - token. In this case, we are requesting the offline_access scope, - which allows the client to obtain a refresh token, photos to access photos - and files to have access to user files. + token. In this case, we are requesting access to photos and files.

  • @@ -167,7 +165,7 @@ const responseType = "token"; const redirectUri = getRedirectUri(); - const scope = "offline_access%20photos%20files"; + const scope = "photos%20files"; const state = generateSessionState(); setCookie("state", state, 5); diff --git a/src/flow/pkce-2.html b/src/flow/pkce-2.html index abdc2d8..3dbec1a 100644 --- a/src/flow/pkce-2.html +++ b/src/flow/pkce-2.html @@ -100,9 +100,7 @@

    scope=

    Scopes requested by the client. Scopes are used to limit the access of the access - token. In this case, we are requesting the offline_access scope, - which allows the client to obtain a refresh token, photos to access photos - and files to have access to user files. + token. In this case, we are requesting access to photos and files.

  • @@ -193,7 +191,7 @@ const responseType = "code"; const redirectUri = getRedirectUri(); - const scope = "offline_access%20photos%20files"; + const scope = "photos%20files"; const state = generateSessionState(); const codeChallenge = getCookie("code_challenge"); diff --git a/src/flow/webauthn.html b/src/flow/webauthn.html index 224a46a..7642ef3 100644 --- a/src/flow/webauthn.html +++ b/src/flow/webauthn.html @@ -98,9 +98,7 @@

    scope=

    Scopes requested by the client. Scopes are used to limit the access of the access - token. In this case, we are requesting the offline_access scope, - which allows the client to obtain a refresh token, photos to access photos - and files to have access to user files. + token. In this case, we are requesting access to photos and files.

  • @@ -174,7 +172,7 @@ const authUrl = baseUrl + "/passwordless" const responseType = "code"; const redirectUri = getRedirectUri(); - const scope = "offline_access%20photos%20files"; + const scope = "photos%20files"; const state = generateSessionState(); setCookie("webauth-state", state, 5);