File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
FLASK_DEBUG = True
2
- # Expects a full tenant name such as "contoso.onmicrosoft.com", or its GUID
3
- TENANT_ID = <tenant id>
2
+ # Expects a full tenant id such as "contoso.onmicrosoft.com", or its GUID
3
+ # Or leave it undefined if you are building a multi-tenant app
4
+ # TENANT_ID=<tenant id>
4
5
CLIENT_ID = <client id>
5
6
CLIENT_SECRET = <client secret>
Original file line number Diff line number Diff line change 6
6
CLIENT_SECRET = os .getenv ("CLIENT_SECRET" )
7
7
8
8
# AUTHORITY = "https://login.microsoftonline.com/common" # For multi-tenant app
9
- AUTHORITY = f"https://login.microsoftonline.com/{ os .getenv ('TENANT_ID' )} "
9
+ AUTHORITY = f"https://login.microsoftonline.com/{ os .getenv ('TENANT_ID' , 'common' )} "
10
10
11
11
REDIRECT_PATH = "/getAToken" # Used for forming an absolute URL to your redirect URI.
12
12
# The absolute URL must match the redirect URI you set
You can’t perform that action at this time.
0 commit comments