Skip to content
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

Snowflake OAuth authentication ignores role in recipe #6824

Closed
daguito81 opened this issue Dec 20, 2022 · 1 comment
Closed

Snowflake OAuth authentication ignores role in recipe #6824

daguito81 opened this issue Dec 20, 2022 · 1 comment
Labels
bug Bug report

Comments

@daguito81
Copy link
Contributor

Describe the bug
When using OAUTH_AUTHENTICATOR in a Snowflake recipe, it ignores the role attribute in the recipe. This is taken into account if using DEFAULT_AUTHENTICATOR

To Reproduce
Steps to reproduce the behavior:

  1. Create a snowflake recipe specifiying a role
  2. Create user without a default role in Snowflake
  3. Use OAUTH_AUTHENTICATOR and set up oauth_config block
  4. Error will show that it can't connect because no default role has been set up even though the attribute role is specified in the recipe

Expected behavior
It should connect to Snowflake using the role specified in the recipe

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome
  • Version (Chrome): 108.0.5359.125
  • Version (Datahub): 0.9.2.4
@daguito81 daguito81 added the bug Bug report label Dec 20, 2022
@daguito81
Copy link
Contributor Author

Created a small PR to solve this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug report
Projects
None yet
Development

No branches or pull requests

2 participants