Skip to content

Set Unauthenticated as the authentication provider in the default Docker image config#3248

Merged
souvikghosh04 merged 4 commits intomainfrom
copilot/set-unauthenticated-default-provider
Mar 13, 2026
Merged

Set Unauthenticated as the authentication provider in the default Docker image config#3248
souvikghosh04 merged 4 commits intomainfrom
copilot/set-unauthenticated-default-provider

Conversation

Copy link
Contributor

Copilot AI commented Mar 13, 2026

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.
 "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?

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.

Original prompt

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)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

…json

Co-authored-by: Aniruddh25 <3513779+Aniruddh25@users.noreply.github.com>
Copilot AI changed the title [WIP] Switch to Unauthenticated as default provider in config Set Unauthenticated as the authentication provider in the default Docker image config Mar 13, 2026
Copilot AI requested a review from Aniruddh25 March 13, 2026 05:07
@Aniruddh25 Aniruddh25 marked this pull request as ready for review March 13, 2026 05:09
Copilot AI review requested due to automatic review settings March 13, 2026 05:09
@Aniruddh25 Aniruddh25 added the 2.0 label Mar 13, 2026
@Aniruddh25 Aniruddh25 added this to the March 2026 milestone Mar 13, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Docker image’s shipped quick-starter configuration (dab-config.json) to align with the newer default authentication provider behavior by using Unauthenticated instead of the legacy Simulator provider.

Changes:

  • Switch runtime.host.authentication.provider from Simulator to Unauthenticated in the root dab-config.json.

@souvikghosh04 souvikghosh04 enabled auto-merge (squash) March 13, 2026 10:22
@souvikghosh04
Copy link
Contributor

/azp run

@souvikghosh04 souvikghosh04 moved this from Todo to Review In Progress in Data API builder Mar 13, 2026
@azure-pipelines
Copy link

Azure Pipelines successfully started running 6 pipeline(s).

@anushakolan
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 6 pipeline(s).

@souvikghosh04 souvikghosh04 merged commit 46fa40e into main Mar 13, 2026
11 checks passed
@souvikghosh04 souvikghosh04 deleted the copilot/set-unauthenticated-default-provider branch March 13, 2026 18:06
@github-project-automation github-project-automation bot moved this from Review In Progress to Done in Data API builder Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Set Unauthenticated as the authentication provider in the default config image

5 participants