SNOW-1899674: [Question] OAuth Client Credentials Flow support through the JDBC Driver #2050
Labels
enhancement
The issue is a request for improvement or a new feature
status-triage_done
Initial triage done, will be further handled by the driver team
What is the current behavior?
I see in the driver documentation that there is support around OAuth2.0 support where you can pass in parameters such as a token to use OAuth2.0 when connecting to your Snowflake Instance, even with an external Auth Server such as Okta or PowerBI. I have been trying to get Client Credentials Flow working with the JDBC driver by passing in the Auth Token retrieved from the Auth server I have set up and am getting a
404
error when connecting since it attempts to redirect to the/session/v1/login-request
endpoint. This behavior doesn't make sense for Client Credentials flow since there is no manual login so I was confused seeing this.After trying to debug and looking into the code of the driver I see that you all have created a branch for
oauth-code-flow
which looks to be adding support for Client Credentials Flow: https://github.com/snowflakedb/snowflake-jdbc/tree/oauth-code-flowThis is less of an issue and more of a question, but I'd just like to confirm that the current JDBC Driver does not support Client Credentials Flow and that this authentication mechanism will become available when https://github.com/snowflakedb/snowflake-jdbc/tree/oauth-code-flow is merged into master?
What is the desired behavior?
Usage of Client Credentials Flow for OAuth2.0 via the Snowflake JDBC driver.
How would this improve
snowflake-jdbc
?It would drastically improve the quality of life for people needing to use OAuth2.0 for security purposes in an automated system.
References, Other Background
N/A
The text was updated successfully, but these errors were encountered: