Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a8dc75 commit 72b80e5Copy full SHA for 72b80e5
examples/flask-webapp/server.py
@@ -1,4 +1,3 @@
1
-import base64
2
import os
3
import json
4
examples/flask-webapp/templates/home.html
@@ -15,7 +15,7 @@
15
<script>
16
var AUTH0_CLIENT_ID = '{{env.AUTH0_CLIENT_ID}}';
17
var AUTH0_DOMAIN = '{{env.AUTH0_DOMAIN}}';
18
- var AUTH0_CALLBACK_URL = '{{env.AUTH0_CALLBACK_URL}}';
+ var AUTH0_CALLBACK_URL = '{{env.AUTH0_CALLBACK_URL if env.AUTH0_CALLBACK_URL else "http://localhost:3000/callback" }}';
19
</script>
20
<script src="/public/app.js"> </script>
21
<link href="/public/app.css" rel="stylesheet">
0 commit comments