rusackas commented on code in PR #40684:
URL: https://github.com/apache/superset/pull/40684#discussion_r3343105189


##########
superset/mcp_service/jwt_verifier.py:
##########
@@ -564,7 +564,7 @@ async def load_access_token(self, token: str) -> 
AccessToken | None:  # noqa: C9
                 "JWT authentication succeeded: client_id='%s', scopes=%s, "
                 "auth_method='bearer_jwt'",
                 _sanitize_for_log(client_id),
-                _sanitize_for_log(sorted(scopes)),
+                _sanitize_for_log(" ".join(sorted(scopes))),

Review Comment:
   Good catch on the empty-scopes case — applied the `or "(none)"` fallback so 
the log stays self-documenting when no scopes are present.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to