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

   **Summary**
   
   This PR adds support for the OAuth `scope` parameter in the `SnowflakeHook 
`and updates the associated OAuth tests to correctly validate both scoped and 
unscoped token requests. Previously, the scope value was not included in the 
Snowflake OAuth token request.
   
   **Details**
   
   Ensures consistent handling of the scope parameter across all OAuth grant 
types.
   
   Updates and corrects tests to reflect the real execution path.
   
   **Notes**
   
   Although the original issue focused on adding scope support for the 
`client_credentials` grant type, scope can also be optionally included when 
using the `refresh_token` OAuth flow. This PR provides a general implementation 
that supports both.
   
   Closes: #58815


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