haseebmalik18 opened a new pull request, #70879:
URL: https://github.com/apache/airflow/pull/70879

   Fixes the Microsoft Graph filesystem failing to authenticate when the 
connection is set up through the UI.
   
   The connection form only exposes a "Scopes" field, but get_fs() hands 
MSGDriveFS a fully built oauth2_client_params dict. That makes the library skip 
its own scope default, so authlib ends up with no scope and the connection 
fails. This falls back to the connection's scopes value, then to the Graph 
default, so a UI-configured connection works without hand-adding a scope key to 
extras.
   
   closes: #70822
   
   ---


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