Skip to content

Commit 46fa40e

Browse files
CopilotAniruddh25souvikghosh04
authored
Set Unauthenticated as the authentication provider in the default Docker image config (#3248)
## Why make this change? PR #3074 introduced `Unauthenticated` as the new default authentication provider. The `dab-config.json` shipped in the Docker image (quick-starter) was still referencing the old `Simulator` provider and needs to be aligned. ## What is this change? - Updated `dab-config.json` (root-level, copied into the Docker image via `COPY dab-config.json /App/dab-config.json`) to use `Unauthenticated` instead of `Simulator` as the authentication provider. ```diff "authentication": { - "provider": "Simulator" + "provider": "Unauthenticated" } ``` `Unauthenticated` treats all requests as anonymous without simulating auth claims, which is the correct default for a quick-starter config. `Simulator` was a development-only mode that would inject fake authenticated identities. ## How was this tested? - [ ] Integration Tests - [ ] Unit Tests The Docker image can start up with the updated default config values in `dab-config.json`. ## Sample Request(s) No API behavior change — this only affects the default provider in the shipped config. Users connecting to the Docker image will have all requests processed as the `anonymous` role by default. <!-- START COPILOT ORIGINAL PROMPT --> <details> <summary>Original prompt</summary> > > ---- > > *This section details on the original issue you should resolve* > > <issue_title>Set Unauthenticated as the authentication provider in the default config image</issue_title> > <issue_description>- PR #3074 created the Unauthenticated provider as the new default. > - Switch to that in the `dab-config.json` that we will be shipping in the docker image as a quick starter.</issue_description> > > <agent_instructions>Adhere to formatting rules. > Test by ensuring the docker image can start up with the default config values in dab-config.json</agent_instructions> > > ## Comments on the Issue (you are @copilot in this section) > > <comments> > </comments> > </details> <!-- START COPILOT CODING AGENT SUFFIX --> - Fixes #3247 <!-- START COPILOT CODING AGENT TIPS --> --- 💬 We'd love your input! Share your thoughts on Copilot coding agent in our [2 minute survey](https://gh.io/copilot-coding-agent-survey). --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Aniruddh25 <3513779+Aniruddh25@users.noreply.github.com> Co-authored-by: Souvik Ghosh <souvikofficial04@gmail.com>
1 parent e14cca5 commit 46fa40e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dab-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"allow-credentials": false
2929
},
3030
"authentication": {
31-
"provider": "Simulator"
31+
"provider": "Unauthenticated"
3232
},
3333
"mode": "development"
3434
}

0 commit comments

Comments
 (0)