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 11FLASK_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>
45CLIENT_ID = <client id>
56CLIENT_SECRET = <client secret>
Original file line number Diff line number Diff line change 66CLIENT_SECRET = os .getenv ("CLIENT_SECRET" )
77
88# 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' )} "
1010
1111REDIRECT_PATH = "/getAToken" # Used for forming an absolute URL to your redirect URI.
1212# The absolute URL must match the redirect URI you set
You can’t perform that action at this time.
0 commit comments