From 4cc3525a1fa6020ef143a42037cf857f862bc91d Mon Sep 17 00:00:00 2001 From: Kevin J Gao <32936811+gaokevin1@users.noreply.github.com> Date: Tue, 18 Jun 2024 14:47:10 -0700 Subject: [PATCH] added new versions (#41) --- requirements.txt | 2 +- static/descope.js | 10 +++++++--- templates/base.html | 4 ++-- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/requirements.txt b/requirements.txt index 13d7390..b94d43e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,7 @@ cffi==1.15.1 charset-normalizer==3.1.0 click==8.1.3 cryptography==42.0.4 -descope==1.6.3 +descope==1.6.5 dnspython==2.6.1 email-validator==2.0.0.post2 Flask==2.3.3 diff --git a/static/descope.js b/static/descope.js index db67990..de8b85b 100644 --- a/static/descope.js +++ b/static/descope.js @@ -1,3 +1,7 @@ -const projectId = "" -const sdk = Descope({ projectId: projectId, persistTokens: true, autoRefresh: true }) -const sessionToken = sdk.getSessionToken() +const projectId = ""; +const sdk = Descope({ + projectId: projectId, + persistTokens: true, + autoRefresh: true, +}); +const sessionToken = sdk.getSessionToken(); diff --git a/templates/base.html b/templates/base.html index 6e750d0..706f124 100644 --- a/templates/base.html +++ b/templates/base.html @@ -3,8 +3,8 @@ {% block title %} {% endblock %} - - + +