Skip to content

Commit 8456621

Browse files
committed
Bring back Enter_the_Client_Secret_Here for now
1 parent 2c9c6ba commit 8456621

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

app_config.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
import os
22

3-
# This pattern is defined in Flask's documentation here
3+
CLIENT_SECRET = "Enter_the_Client_Secret_Here" # Our Quickstart uses this placeholder
4+
# In your production app, we recommend you to use other ways to store your secret,
5+
# such as KeyVault, or environment variable as described in Flask's documentation here
46
# https://flask.palletsprojects.com/en/1.1.x/config/#configuring-from-environment-variables
5-
CLIENT_SECRET = os.getenv("CLIENT_SECRET")
6-
if not CLIENT_SECRET:
7-
raise ValueError("Need to define CLIENT_SECRET environment variable")
7+
# CLIENT_SECRET = os.getenv("CLIENT_SECRET")
8+
# if not CLIENT_SECRET:
9+
# raise ValueError("Need to define CLIENT_SECRET environment variable")
810

911
AUTHORITY = "https://login.microsoftonline.com/common" # For multi-tenant app
1012
# AUTHORITY = "https://login.microsoftonline.com/Enter_the_Tenant_Name_Here"

0 commit comments

Comments
 (0)