After entering the Client ID and Client Secret, the reauthentication flow with Coupa fails with the following error:
Could not connect to the Coupa API, please check your API Endpoint and OAuth Keys
- Coupa
- Provisioning
- OAuth
Please ensure that the following are correctly configured on the Coupa's side:
- The following scopes:
core.user.read,core.user.write,offline_access,openid. - The grant type should be set to "Authorization Code".
- Check if the correct redirect URI provided by Coupa is used:
https://systemadmin.okta.com/admin/app/generic/oauth20redirect.
- In Okta, under the provisioning tab, make sure to add the correct endpoint:
- Recreate the OAuth authentication flow for the Okta integration from an Incognito browser session. Make sure to authenticate with the service account that generated the OAuth Consumer Key and OAuth Consumer Secret.
NOTE: If the issue persists, please contact Coupa Support for further guidance on resolving this error.
