0.8a3#399
Merged
Merged
Conversation
…e cross-site scripting' Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Mestway
approved these changes
Jul 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request adds delegated Microsoft OAuth sign-in support for Kusto (Azure Data Explorer) connectors and introduces local Azure CLI authentication endpoints, while also making several related improvements. The main changes are the introduction of a new OAuth gateway, new endpoints for Azure CLI login/status, and enhancements to how authentication parameters are handled and surfaced to the frontend.
Kusto OAuth delegated sign-in:
kusto_oauth_bpinkusto_oauth_gateway.pyto support Microsoft delegated OAuth (Authorization Code + PKCE) for Kusto connectors, including all supporting logic for secure state, PKCE, and token exchange.local_server.shto configure the Kusto OAuth flow for local development.Local Azure CLI authentication endpoints:
/api/local/azure-statusand/api/local/azure-loginendpoints that allow the frontend to check Azure CLI login status and trigger interactive login, for connectors supporting Microsoft Entra ID authentication.Connector login flow improvements:
_resolve_delegated_loginto include aparamsfield, allowing the frontend to receive additional parameters needed for delegated login.token_expires_at) for better session management.Other: