Skip to content

Commit 5bff17d

Browse files
Changed default authentication provider to "Unauthenticated" in dab.draft.schema.json. (#3424)
## Why make this change? Closes #3392. The JSON schema default for runtime.host.authentication.provider was set to AppService, while CLI help text and docs indicate the default should be Unauthenticated. This mismatch can confuse users and tooling. ## What is this change? - Updated the schema default in schemas/dab.draft.schema.json: - runtime.host.authentication.provider: AppService -> Unauthenticated - No runtime behavior changes were introduced beyond aligning the schema default value. ## How was this tested? - [ ] Integration Tests - [x] Unit Tests Ran: - dotnet test src/Service.Tests/Azure.DataApiBuilder.Service.Tests.csproj --framework net8.0 --filter "FullyQualifiedName~CorsUnitTests.TestCorsConfigReadCorrectly" ## Sample Request(s) CLI example: - dab configure --runtime.host.authentication.provider AppService - This demonstrates overriding the default. Config example: - Omit runtime.host.authentication.provider from config. - Schema default resolves it to Unauthenticated. Co-authored-by: Souvik Ghosh <souvikofficial04@gmail.com>
1 parent df401ec commit 5bff17d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

schemas/dab.draft.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@
436436
"description": "Unauthenticated provider where all operations run as anonymous. Use when Data API builder is behind an app gateway or APIM where authentication is handled externally."
437437
}
438438
],
439-
"default": "AppService"
439+
"default": "Unauthenticated"
440440
},
441441
"jwt": {
442442
"type": "object",

0 commit comments

Comments
 (0)