eladkal commented on code in PR #62664:
URL: https://github.com/apache/airflow/pull/62664#discussion_r2884332456


##########
providers/google/src/airflow/providers/google/common/auth_backend/google_openid.py:
##########
@@ -135,12 +135,12 @@ def decorated(*args, **kwargs):
         access_token = _get_id_token_from_request(flask_request)
         if not access_token:
             log.debug("Missing ID Token")
-            return Response("Forbidden", 403)
+            return Response("Unauthorized", 401)
 
         userid = _verify_id_token(access_token)
         if not userid:
             log.debug("Invalid ID Token")
-            return Response("Forbidden", 403)
+            return Response("Unauthorized", 401)

Review Comment:
   will this cause issues for older version of fab provider? if so we need to 
update version in
   
https://github.com/apache/airflow/blob/e68c525ea7f4b4ffa09529d6620753b7cf1c77cf/providers/google/pyproject.toml#L153



-- 
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]

Reply via email to