Skip to content

Commit 320d143

Browse files
authored
Avoid hardcoding secret, not even a placeholder
1 parent 3e1b3d7 commit 320d143

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sample/authorization-code-flow-sample/authorization_code_flow_sample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
app = flask.Flask(__name__)
3131
app.debug = True
32-
app.secret_key = 'development'
32+
app.secret_key = sys.argv[2] # In this demo, we expect a secret from 2nd CLI param
3333

3434

3535
# Optional logging

0 commit comments

Comments
 (0)