Skip to content

Conversation

@pgagnon
Copy link
Contributor

@pgagnon pgagnon commented Jun 11, 2025

This PR extends SnowflakeHook's OAuth implementation, allowing users to specify a token_endpoint extras parameter to support external IDPs (other than Snowflake's built-in).

It also introduces the grant_type parameter in order to support grant types other than refresh_token. This initial implementation provides support for the client_credentials grant type, which can be provided through the login/password fields to acquire an access token.

Backwards compatibility with the existing interface is preserved.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@pgagnon pgagnon requested review from mik-laj and potiuk as code owners June 11, 2025 14:57
@kaxil kaxil merged commit 6449262 into apache:main Jun 11, 2025
65 checks passed
@pgagnon
Copy link
Contributor Author

pgagnon commented Jun 11, 2025

Thank you both! ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants