Service Connection in Visual Builder with an OAuth2.0 client connection does not connect.
(Doc ID 2872856.1)
Last updated on OCTOBER 31, 2023
Applies to:
Visual Builder Studio - Version 22.04.2 and laterInformation in this document applies to any platform.
Goal
When trying to create a Service Connection in Visual Builder using the "Define By EndPoint" wizard and adding the POST endpoint URL and added an OAuth2.0 client connection - ClientID, Secret and Token URL, then testing this newly created service connection, the following response is returned:
{
"type": "abcs://proxy_problem/oauth/auth_token_error",
"title": "OAuth token resource returned an error",
"detail": "OAuth token resource responded with status code invalid_request and body:\n\n{1}",
"status": 400,
"o:vbcs-token-response": {
"error": "invalid_request"
},
"o:vbcs-token-notes": {
"thirdParty": true,
"tokenUrl": "https://<HOST>.occa.ocs.oraclecloud.com/ccadminui/v1/login",
"credentialIDs": null,
"clientId": "<CLIENT ID>",
"noAuthHeader": false,
"clientCredentials": "firstParty",
"scope": "urn:opc:idm:__myscopes__",
"form": {
"grant_type": [
"client_credentials"
],
"scope": [
"urn:opc:idm:__myscopes__"
]
},
"responseStatus": 401
}
}
"type": "abcs://proxy_problem/oauth/auth_token_error",
"title": "OAuth token resource returned an error",
"detail": "OAuth token resource responded with status code invalid_request and body:\n\n{1}",
"status": 400,
"o:vbcs-token-response": {
"error": "invalid_request"
},
"o:vbcs-token-notes": {
"thirdParty": true,
"tokenUrl": "https://<HOST>.occa.ocs.oraclecloud.com/ccadminui/v1/login",
"credentialIDs": null,
"clientId": "<CLIENT ID>",
"noAuthHeader": false,
"clientCredentials": "firstParty",
"scope": "urn:opc:idm:__myscopes__",
"form": {
"grant_type": [
"client_credentials"
],
"scope": [
"urn:opc:idm:__myscopes__"
]
},
"responseStatus": 401
}
}
The OAuth server in this case is provided through Oracle Commerce Cloud.
Why is this not working correctly?
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |