File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import 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
911AUTHORITY = "https://login.microsoftonline.com/common" # For multi-tenant app
1012# AUTHORITY = "https://login.microsoftonline.com/Enter_the_Tenant_Name_Here"
You can’t perform that action at this time.
0 commit comments