Add OAuth-Support on Salesforce connector in OpenMetadata Open Source
Is your feature request related to a problem? Please describe. Salesforce "best-practice" is, to follow the Client Credentials Flow for API clients. At the moment, the Salesforce connector of Open Metadata is only providing the possibility to access APIs with Username, Password and API-Key, which is not as secure as the Client Credentials Flow, as you do not send cleartext password, and you cannot use the credentials in the UI.
Describe the solution you'd like Extend the Salesforce connector to be used with OAuth Flows (especially the Client Credentials), so a user can enter Username, Consumer Key, and Consumer Secret.
Describe alternatives you've considered Alternative is to use the connector as is, but this is (AFAIK) not considered best practice and not as secure as it could be.
Additional context https://help.salesforce.com/s/articleView?id=xcloud.connected_apps_and_external_client_apps_features.htm&type=5 https://help.salesforce.com/s/articleView?id=xcloud.remoteaccess_oauth_flows.htm&type=5 https://help.salesforce.com/s/articleView?id=xcloud.remoteaccess_oauth_client_credentials_flow.htm&type=5
With the version 1.12.5 of simple-salesforce, the OAuth2 flow is ready: https://simple-salesforce.readthedocs.io/en/latest/changes.html
Is this something to be considered? As this is effecting UI, Backend and database, I am not confident to do on my own.