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.
2 parents 95b59f7 + b56a384 commit 0b1e902Copy full SHA for 0b1e902
sample/authorization-code-flow-sample/authorization_code_flow_sample.py
@@ -13,8 +13,10 @@
13
}
14
15
You can then run this sample with a JSON configuration file:
16
- python sample.py parameters.json
17
- On the browser open http://localhost:5000/
+
+ python sample.py parameters.json your_flask_session_secret_here
18
19
+And the on the browser open http://localhost:5000/
20
21
"""
22
@@ -29,7 +31,7 @@
29
31
30
32
app = flask.Flask(__name__)
33
app.debug = True
-app.secret_key = 'development'
34
+app.secret_key = sys.argv[2] # In this demo, we expect a secret from 2nd CLI param
35
36
37
# Optional logging
0 commit comments