You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by mi...@apache.org on 2026/05/14 23:38:01 UTC
(superset) 09/18: Potential fix for pull request finding
This is an automated email from the ASF dual-hosted git repository.
aminghadersohi pushed a commit to branch work-pr-39604
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 06a9b10068ee267a80e6a7ec068d75f5ae9b28b0
Author: Amin Ghadersohi <am...@gmail.com>
AuthorDate: Fri May 8 16:04:09 2026 -0400
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <17...@users.noreply.github.com>
---
superset/mcp_service/composite_token_verifier.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/superset/mcp_service/composite_token_verifier.py b/superset/mcp_service/composite_token_verifier.py
index e404e364373..ffba111bf48 100644
--- a/superset/mcp_service/composite_token_verifier.py
+++ b/superset/mcp_service/composite_token_verifier.py
@@ -74,7 +74,8 @@ class CompositeTokenVerifier(TokenVerifier):
"""Verify a Bearer token.
If the token starts with an API key prefix, return a pass-through
- AccessToken with a ``_api_key_passthrough`` claim. The Flask-layer
+ AccessToken with the namespaced ``API_KEY_PASSTHROUGH_CLAIM``
+ (``_superset_mcp_api_key_passthrough``). The Flask-layer
``_resolve_user_from_api_key()`` performs the real validation.
Otherwise, delegate to the wrapped JWT verifier when one is