Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion application/single_app/config.py
Original file line numberDiff line numberDiff line change
Expand Up@@ -151,8 +151,10 @@

if AZURE_ENVIRONMENT == "custom":
AUTHORITY = f"{CUSTOM_IDENTITY_URL_VALUE}/{TENANT_ID}"
else:
elif AZURE_ENVIRONMENT == "usgovernment":
AUTHORITY = f"https://login.microsoftonline.us/{TENANT_ID}"
else:
AUTHORITY = f"https://login.microsoftonline.com/{TENANT_ID}"

# Commercial Azure Video Indexer Endpoint
video_indexer_endpoint = "https://api.videoindexer.ai"
Expand DownExpand Up@@ -180,6 +182,7 @@
authority = AzureAuthorityHosts.AZURE_PUBLIC_CLOUD
credential_scopes=[resource_manager + "/.default"]
cognitive_services_scope = "https://cognitiveservices.azure.com/.default"
video_indexer_endpoint = "https://api.videoindexer.ai"

storage_account_user_documents_container_name = "user-documents"
storage_account_group_documents_container_name = "group-documents"
Expand Down