1 respuesta
Salesforce now requires the Connected App OAUTH to be installed by an admin before users can self-authorize.
- Go to Setup.
- In the Quick Find box, type Connected Apps OAuth Usage, and open it.
- Click Install next to App Name that app you using for the Authentication.
- You will be redirected to a new page, Click the Install button again.
- Once completed, the Connected App will be successfully installed.
OAUTH_APPROVAL_ERROR_GENERIC error
- While authorising the connected app, as shown below, As described above, the users without the "Approve Uninstalled Connected Apps" permission will face the error message "OAUTH_APPROVAL_ERROR_GENERIC", however we have also seen edge case scenarios in Sandbox environments where the permission "Approve Uninstalled Connected Apps" is missing from the profiles and cannot be granted, in such scenario the admins are advised to run the "Match Production Licenses to Sandbox without a Refresh " tool in the affected sandbox environment.