OAuth using JWT User Assertion security policy CASDK-0005: Request to access token failed. 400
Summary:
Hi Experts
I'm calling Oracle Fusion REST API in Oracle Integration
I'm trying to use OAuth using JWT User Assertion security policy in REST Adapter connection to authenticate Oracle Fusion REST API but i'm getting below error
- CASDK-0005: A connector specific exception was raised by the application. Request to access token failed. Cause: status = 400 Error: {"error":"invalid_request","error_description":"The request contains invalid parameters or values."}
I uploaded the private key .pem file generated in below step #6 in the settings under certificate.
1. Generate a private key (private.key)
>> openssl genrsa -out private.key 2048
2. Using above generated private key, create an X509 certificate (.cer file) containing your public key, this certificate is valid for 365 days