OIC integration with Azure AD: Using oAuth2. AADSTS900144: The request body must contain the followi
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" } ] }
Tagged:
0