Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OIC integration with Azure AD: Using oAuth2. AADSTS900144: The request body must contain the followi

edited Jun 26, 2021 3:28AM in Integration 2 comments

Content

Hi - I've configured the OIC REST adaptor to connect to AAD. However, when i run the integration, i get the error below.

So where do i define the refresh_token parameter in OIC?

Regards,

Zaf

Code Snippet

{
  "type" : "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.1",
  "title" : "Internal Server Error",
  "detail" : "Internal server error. Please contact oracle support for details.",
  "errorCode" : "500",
  "errorDetails" : [ {
    "type" : "UnMappedFault:execute",
    "instance" : "NA",
    "title" : "<genericRestFault><errorCode>400</errorCode><errorPath><![CDATA[POST https://login.microsoftonline.com/9b0ade73-8137-45ad-b001-6922bf77f9d1/oauth2/v2.0/token returned a response status of 400 Bad Request]]></errorPath><instance><![CDATA[{\"error\":\"invalid_request\",\"error_description\":\"AADSTS900144: The request body must contain the following parameter: 'refresh_token'.\\r\\nTrace ID: f9da3b45-50b6-4813-b0eb-923d7e5b0a00\\r\\nCorrelation ID: 2e9fd885-1c90-43dd-85b8-11e54b7a78df\\r\\nTimestamp: 2021-06-26 03:25:26Z\",\"error_codes\":[900144],\"timestamp\":\"2021-06-26 03:25:26Z\",\"trace_id\":\"f9da3b45-50b6-4813-b0eb-923d7e5b0a00\",\"correlation_id\":\"2e9fd885-1c90-43dd-85b8-11e54b7a78df\",\"error_uri\":\"https://login.microsoftonline.com/error?code=900144\"}]]></instance></genericRestFault>\n:Application Error",
    "errorPath" : "NA",
    "errorCode" : "NA"
  } ]
}

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!