invalid_grant : The token has already been consumed
invalid_grant : The token has already been consumed.
We set up trust between Identity domain and ERP and configured OAUTH. This is to call Fusion app Rest APIs from OIC with OAuth Authorization Code Credentials connection. Followed this https://docs.oracle.com/en/cloud/paas/integration-cloud/erp-adapter/prerequisites-creating-connection.html#GUID-FB40AF96-81C3-46BC-934F-1D7D2FC10020
The connection was configured and working initially. But after few days when we tested, its saying
invalid_grant : The token has already been consumed. Not sure how to fix this. Checked all settings again. The same FA rest api call is working from post man with the same OAUTH settings. Getting this error only in OIC. The rest api is a simple call to get Employees in HCM service