Skip to content

Commit

Permalink
added new versions (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaokevin1 authored Jun 18, 2024
1 parent 78a02a9 commit 4cc3525
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 7 additions & 3 deletions static/descope.js
Original file line number Diff line number Diff line change
@@ -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();
4 changes: 2 additions & 2 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="UTF-8" />
<title>{% block title %} {% endblock %}</title>
<script src="https://unpkg.com/@descope/web-component@2.8.12/dist/index.js"></script>
<script src="https://unpkg.com/@descope/web-js-sdk@1.4.3/dist/index.umd.js"></script>
<script src="https://unpkg.com/@descope/web-component@3.15.5/dist/index.js"></script>
<script src="https://unpkg.com/@descope/web-js-sdk@1.12.1/dist/index.umd.js"></script>

<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
Expand Down

0 comments on commit 4cc3525

Please sign in to comment.