Add App__Domain config to derive connect redirect URI

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>
This commit is contained in:
2026-06-10 15:42:05 +02:00
parent 0ded1af6bc
commit 582cc54189
7 changed files with 62 additions and 2 deletions
+3
View File
@@ -1,5 +1,8 @@
{
"DataFolder": "/data",
"App": {
"Domain": ""
},
"Oidc": {
"TenantId": "YOUR_ENTRA_TENANT_ID",
"ClientId": "YOUR_SPTB_APP_CLIENT_ID",