File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
main/java/com/databricks/sdk/core
test/java/com/databricks/sdk/core Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -657,10 +657,10 @@ public OpenIDConnectEndpoints getOidcEndpoints() throws IOException {
657657 }
658658 } catch (Exception e ) {
659659 LOG .warn (
660- "Failed to fetch OIDC Endpoints using discovery URL: {}. Error: {}. \n Defaulting to fetch OIDC using default endpoint." ,
661- discoveryUrl ,
662- e .getMessage (),
663- e );
660+ "Failed to fetch OIDC Endpoints using discovery URL: {}. Error: {}. \n Defaulting to fetch OIDC using default endpoint." ,
661+ discoveryUrl ,
662+ e .getMessage (),
663+ e );
664664 }
665665 return fetchDefaultOidcEndpoints ();
666666 }
Original file line number Diff line number Diff line change @@ -183,14 +183,14 @@ public void testDiscoveryEndpointFetchFallback() throws IOException {
183183 String discoveryUrl = server .getUrl () + discoveryUrlSuffix ;
184184
185185 OpenIDConnectEndpoints oidcEndpoints =
186- new DatabricksConfig ()
187- .setHost (server .getUrl ())
188- .setDiscoveryUrl (discoveryUrl )
189- .setHttpClient (new CommonsHttpClient .Builder ().withTimeoutSeconds (30 ).build ())
190- .getOidcEndpoints ();
186+ new DatabricksConfig ()
187+ .setHost (server .getUrl ())
188+ .setDiscoveryUrl (discoveryUrl )
189+ .setHttpClient (new CommonsHttpClient .Builder ().withTimeoutSeconds (30 ).build ())
190+ .getOidcEndpoints ();
191191
192192 assertEquals (
193- "https://test.auth.endpoint/oidc/v1/authorize" , oidcEndpoints .getAuthorizationEndpoint ());
193+ "https://test.auth.endpoint/oidc/v1/authorize" , oidcEndpoints .getAuthorizationEndpoint ());
194194 assertEquals ("https://test.auth.endpoint/oidc/v1/token" , oidcEndpoints .getTokenEndpoint ());
195195 }
196196 }
You can’t perform that action at this time.
0 commit comments