From 29902064afdfce9ca69ba09c408d955260cef01c Mon Sep 17 00:00:00 2001 From: kitodoescode <156444563+kitodoescode@users.noreply.github.com> Date: Thu, 25 Dec 2025 19:52:20 +0530 Subject: [PATCH] Fix currentToken structure --- authorization/authorization_code_pkce/public/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authorization/authorization_code_pkce/public/app.js b/authorization/authorization_code_pkce/public/app.js index ca3318f7..821a5e27 100644 --- a/authorization/authorization_code_pkce/public/app.js +++ b/authorization/authorization_code_pkce/public/app.js @@ -18,7 +18,7 @@ const scope = 'user-read-private user-read-email'; const currentToken = { get access_token() { return localStorage.getItem('access_token') || null; }, get refresh_token() { return localStorage.getItem('refresh_token') || null; }, - get expires_in() { return localStorage.getItem('refresh_in') || null }, + get expires_in() { return localStorage.getItem('expires_in') || null }, // was "refresh_in" get expires() { return localStorage.getItem('expires') || null }, save: function (response) {