-
Notifications
You must be signed in to change notification settings - Fork 427
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: oauth integration #1315
fix: oauth integration #1315
Conversation
Signed-off-by: Kevin Neville <[email protected]>
@sfc-gh-swinkler My gut feeling says somewhere here https://github.com/Snowflake-Labs/terraform-provider-snowflake/blob/main/pkg/provider/provider_test.go#L109 but not sure. Any advice would be appreciated. |
@sfc-gh-swinkler Since I am a first-time contributor I can't trigger the builds, would you mind? Then we can merge it. |
@kevinneville sorry for the past few days have been having trouble getting the latest release out so was not able to merge PRs. This is failing a couple of minor checks:
After those both pass i can run unit / integration tests and get this merged. Thanks! |
Signed-off-by: Kevin Neville <[email protected]>
Signed-off-by: Kevin Neville <[email protected]>
7e55057
to
42eee99
Compare
Alright, let me know if I can assist in any way. |
/ok-to-test sha=42eee99 |
Integration tests failure for 42eee99 |
Signed-off-by: Kevin Neville <[email protected]>
/ok-to-test sha=e58b8fc, almost :D |
/ok-to-test sha=e58b8fc |
Integration tests failure for e58b8fc |
@kevinneville so the value being returned by |
Do we think there would be any possibility this could get merged in? I see there is still one remaining issue. |
Resolves #785
When using https://registry.terraform.io/providers/Snowflake-Labs/snowflake/latest/docs/resources/oauth_integration with a custom client we need two required arguments. oauth_redirect_uri and oauth_client type. Today only
oauth_redirect_uri
is supported.This PR aims to solve that.
When I use
I get the following error.
When using below Terraform code
I get
References
See https://docs.snowflake.com/en/sql-reference/sql/create-security-integration-oauth-snowflake.html#additional-required-parameters-custom-clients to prove this is needed.