582cc54189
Let deployments set a single App__Domain (e.g. sptb.example.com) instead of spelling out the full ClientConnect__RedirectUri. The SharePoint-connect callback is derived as <domain>/connect/callback; an explicit RedirectUri still wins for back-compat. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
26 lines
531 B
JSON
26 lines
531 B
JSON
{
|
|
"DataFolder": "/data",
|
|
"App": {
|
|
"Domain": ""
|
|
},
|
|
"Oidc": {
|
|
"TenantId": "YOUR_ENTRA_TENANT_ID",
|
|
"ClientId": "YOUR_SPTB_APP_CLIENT_ID",
|
|
"ClientSecret": "YOUR_SPTB_APP_CLIENT_SECRET"
|
|
},
|
|
"ClientConnect": {
|
|
"RedirectUri": "http://localhost:5000/connect/callback"
|
|
},
|
|
"Serilog": {
|
|
"MinimumLevel": {
|
|
"Default": "Information",
|
|
"Override": {
|
|
"Microsoft": "Warning",
|
|
"Microsoft.AspNetCore": "Warning",
|
|
"System": "Warning"
|
|
}
|
|
}
|
|
},
|
|
"AllowedHosts": "*"
|
|
}
|