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

Add Support for SAML Based externalBrowser Authentication #55

Open
minus34 opened this issue Dec 14, 2024 · 2 comments
Open

Add Support for SAML Based externalBrowser Authentication #55

minus34 opened this issue Dec 14, 2024 · 2 comments

Comments

@minus34
Copy link

minus34 commented Dec 14, 2024

Our organisation uses SAML based SSO with externalBrowser authentication. We don't have an alternative for non-service (i.e. user) accounts.

This works fine for the Snowflake Connector for Python and connecting to Snowflake in JetBrains IntelliJ or DataGrip.

Can this authentication type be added to the QGIS plugin?

@sfc-gh-obielov
Copy link
Collaborator

sfc-gh-obielov commented Dec 16, 2024

Hey @minus34, the SSO with Browser authentication should work. You need to select SSO as connection type when creating a new connection. Could you try and let me know if it worked?. If not, please provide info on what SSO provider you use.

@minus34
Copy link
Author

minus34 commented Dec 18, 2024

Thanks Oleksii, it might actually be a bug. I assumed it was a missing feature in v0.9.0.

When I try to login using SSO with or without basic authentication I get the error in the image below. I also get the same error whether I use my real parameters or the dummy ones in the image.

image

FYI - this is my connection statement I use in Python:

conn = snowflake.connector.connect(
    user=user,
    account=account,
    role=role,
    # warehouse=warehouse,
    # database=database,
    # schema=schema,
    authenticator="externalbrowser"
)

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

No branches or pull requests

2 participants