Problem Description
When trying to authenticate orgs in the Druva Salesforce App through the Salesforce Console, administrators may encounter the error:
OAuth Error
We can't authorize you because of an OAuth error. For more information, contact your Salesforce administrator.
OAUTH_APPROVAL_ERROR_GENERIC : An unexpected error has occured during authentication. Please try again.
Cause
This error occurs when the OAUTH connection between Salesforce and Druva, established using admin credentials, is disrupted. This can happen due to permission issues related to installation of apps.
Resolution
Navigate to Setup>Profiles>System Administrator.
Scroll down to Administrative Permissions and enable the permission for 'Approve Uninstalled Connected Apps'.
Then try to authenticate the org.
