Skip to content

Commit

Permalink
Fix Azure Databricks OAuth M2M (#209)
Browse files Browse the repository at this point in the history
## Changes
Fix Azure Databricks OAuth M2M

## Tests
* Manually tested with an Azure workspace
*
https://github.com/databricks/eng-dev-ecosystem/actions/runs/7568909088
  • Loading branch information
fjakobs authored Jan 18, 2024
1 parent e1e7a8a commit 9bc316e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ public OpenIDConnectEndpoints getOidcEndpoints() throws IOException {
if (getHost() == null) {
return null;
}
if (isAzure()) {
if (isAzure() && getAzureClientId() != null) {
Response resp =
getHttpClient().execute(new Request("GET", getHost() + "/oidc/oauth2/v2.0/authorize"));
String realAuthUrl = resp.getFirstHeader("location");
Expand Down

0 comments on commit 9bc316e

Please sign in to comment.