diff --git a/src/main/scala/cognite/spark/v1/DefaultSource.scala b/src/main/scala/cognite/spark/v1/DefaultSource.scala index da9ffe729..3e5b55ac6 100644 --- a/src/main/scala/cognite/spark/v1/DefaultSource.scala +++ b/src/main/scala/cognite/spark/v1/DefaultSource.scala @@ -346,12 +346,7 @@ object DefaultSource { } clientId <- parameters.get("clientId") clientSecret <- parameters.get("clientSecret") - clientCredentials = OAuth2.ClientCredentials( - tokenUri, - clientId, - clientSecret, - scopes, - audience) + clientCredentials = OAuth2.ClientCredentials(tokenUri, clientId, clientSecret, scopes, audience) } yield CdfSparkAuth.OAuth2ClientCredentials(clientCredentials) val session = for {