-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
21 lines (16 loc) · 1017 Bytes
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
class Config(object):
# In a production app, store this instead in KeyVault or an environment variable
# TODO: Enter your client secret from Azure AD below
CLIENT_SECRET = "gZ7F_06.~9~yNQjC-2kS52u4LI~_Q4q-Df"
AUTHORITY = "https://login.microsoftonline.com/common" # For multi-tenant app
# AUTHORITY = "https://login.microsoftonline.com/Enter_the_Tenant_Name_Here"
# TODO: Enter your application client ID here
CLIENT_ID = "6ded6c0e-1237-4181-9798-dc936d6ca852"
# TODO: Enter the redirect path you want to use for OAuth requests
# Note that this will be the end of the URI entered back in Azure AD
REDIRECT_PATH = "/getatoken" # Used to form an absolute URL,
# which must match your app's redirect_uri set in AAD
# You can find the proper permission names from this document
# https://docs.microsoft.com/en-us/graph/permissions-reference
SCOPE = ["User.Read"]
SESSION_TYPE = "filesystem" # So token cache will be stored in server-side session