Eason09053360 commented on code in PR #61585:
URL: https://github.com/apache/airflow/pull/61585#discussion_r2804453503


##########
providers/fab/src/airflow/providers/fab/auth_manager/security_manager/override.py:
##########
@@ -2145,12 +2145,16 @@ def get_oauth_user_info(self, provider: str, resp: 
dict[str, Any]) -> dict[str,
             me = self._decode_and_validate_azure_jwt(resp["id_token"])
             log.debug("User info from Azure: %s", me)
             # 
https://learn.microsoft.com/en-us/azure/active-directory/develop/id-token-claims-reference#payload-claims
+            if has_app_context():

Review Comment:
   You're right, this function is always called within the request context. 
I'll remove this check and re-upload.
   
   Thank you!



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