This is an automated email from the ASF dual-hosted git repository. betodealmeida pushed a commit to branch oauth-exception-status in repository https://gitbox.apache.org/repos/asf/superset.git
commit c001fb58966a140b05db1d12e82285bbd594bb22 Author: Beto Dealmeida <[email protected]> AuthorDate: Tue May 12 14:45:59 2026 -0400 fix: OAuth2 exception should be 403 --- superset/exceptions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/superset/exceptions.py b/superset/exceptions.py index afceac9b5d6..15fe372abe6 100644 --- a/superset/exceptions.py +++ b/superset/exceptions.py @@ -353,10 +353,10 @@ class OAuth2RedirectError(SupersetErrorException): See the `OAuth2RedirectMessage.tsx` component for more details of how this information is handled. - - TODO (betodealmeida): change status to 403. """ + status = 403 + def __init__(self, url: str, tab_id: str, redirect_uri: str): super().__init__( SupersetError(
