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

Support OAuth 2.0 SSO Authentication Without Client ID/Secret in Power BI Connector for Trino #33

Open
shohamyamin opened this issue Oct 14, 2024 · 1 comment

Comments

@shohamyamin
Copy link

Currently, the Power BI connector for Trino supports OAuth 2.0 authentication, but it requires users to provide both the client ID and client secret for the connection. However, many environments that use SSO for OAuth 2.0 (such as enterprise setups) do not expose the client secret to end-users. Instead, users authenticate via a web-based SSO flow, as commonly seen with tools like DBeaver, which opens a browser window for authentication without needing a client ID/secret configuration.

@dwolfeu
Copy link
Contributor

dwolfeu commented Oct 16, 2024

This is a very good point, but alas I don't have the capacity to look into at the moment. I suspect someone with better knowledge of OAuth/SSO could make short work of it. One further point: In the current setup, whereby one populates the files oauth_config_client_id.txt etc. and then builds the .mez file, one can unzip the .mez file and see the values of said files in plaintext. That's not good.

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