You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cannot create connection: CONNECTION/CONNECTION_SALESFORCE must include the following option(s): refresh_token.
I'm not sure that requiring refresh token when creating a connection object via terraform/API makes sense, as far as I understand the dbx side can create this token since I also grant "refresh_token" scope in the salesforce connected app.
as note the same error is thrown when I try to use databricks-cli,
also, it works fine when creating it via UI .
is that possible that databricks API only implements Authorization Code flow and this is why it require this param? if so, maybe it possible to support JWT flow ? (didn't dig enough to see if that 100% match the use case + not familiar with SF much, so pardon if that's not relevant)
Configuration
Expected Behavior
The connection should be created without errors
Actual Behavior
I'm not sure that requiring refresh token when creating a connection object via terraform/API makes sense, as far as I understand the dbx side can create this token since I also grant "refresh_token" scope in the salesforce connected app.
as note the same error is thrown when I try to use databricks-cli,
also, it works fine when creating it via UI .
is that possible that databricks API only implements Authorization Code flow and this is why it require this param? if so, maybe it possible to support JWT flow ? (didn't dig enough to see if that 100% match the use case + not familiar with SF much, so pardon if that's not relevant)
Steps to Reproduce
terraform apply
-->Terraform and provider versions
Is it a regression?
nope, at least for me it didn't work before ( :
Debug Output
Important Factoids
Would you like to implement a fix?
i would but i suspect that its an dbx API thing
The text was updated successfully, but these errors were encountered: