Skip to content

[Bug]: Unable to use DTS emulator dashboard from GitHub Codespaces #316

@yuma-722

Description

@yuma-722

Which sample is affected?

Infrastructure / Deployment

Describe the bug

When using the Durable Task Scheduler (DTS) emulator from GitHub Codespaces, I cannot connect to the emulator instance from the DTS dashboard.

In the DTS dashboard, if I try to add an endpoint using the Codespaces forwarding URL (for example: https://xxxx-8082.app.github.dev/) with Authentication set to None (Emulator / Local), the following validation error is shown and I cannot save the endpoint:

Subscription is required for non-local endpoints

If I instead specify http://localhost:8082/ as the Endpoint URL, I can save the endpoint, but opening the Task Hub then triggers a Microsoft account sign‑in flow, which I do not expect for the emulator scenario. After attempting to sign in, I receive the following error:

AADSTS50011: The redirect URI 'https://xxx-8082.app.github.dev/callback' specified in the request does not match the redirect URIs configured for the application 'xxxxxxxxx'. Make sure the redirect URI sent in the request matches one added to your application in the Azure portal. Navigate to https://aka.ms/redirectUriMismatchError to learn more about how to fix this.

I would like to be able to use the DTS dashboard against the emulator running inside GitHub Codespaces without requiring any sign‑in and without needing an Azure subscription.

Steps to reproduce

  1. Download the Durable Task Scheduler Emulator in GitHub Codespaces.
  2. Start the DTS emulator so that it listens on port 8082 in the Codespace.
  3. Open the DTS dashboard in the browser.
  4. Click Add Endpoint.
  5. Set Authentication to None (Emulator / Local).
  6. Set Endpoint URL to https://xxxx-8082.app.github.dev/ (the Codespaces forwarded URL for port 8082).
  7. Observe that the UI shows “Subscription is required for non-local endpoints” and you cannot save the endpoint.

Change Endpoint URL to http://localhost:8082/ and save the endpoint.

Try to open the Task Hub for this endpoint.

Observe that a Microsoft account sign‑in flow starts, and after attempting to sign in, you get the AADSTS50011 redirect URI mismatch error described above.

Expected behavior

I expect to be able to connect the DTS dashboard to the emulator running in GitHub Codespaces using the forwarded URL, without requiring an Azure subscription.

When Authentication is set to None (Emulator / Local), I do not expect any Microsoft account or AAD sign‑in to occur when accessing the Task Hub, even when running inside Codespaces.

If authentication is not required, I expect to see the Task Hub data directly without any redirect to login.microsoftonline.com or redirect URI validation.

Image

Environment

OS: GitHub Codespaces (Linux container)
Runtime: Python
Accessing DTS dashboard from: GitHub Codespaces forwarded URL (*.app.github.dev) in browser

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions