on 2023 Jun 08 3:42 AM
Calling the SBPA from SAP UI5 application gives the below mentioned error
{
"error": {
"code": "bpm.workflowruntime.rest.principalpropagation.not.possible",
"message": "The operation that you performed requires principal propagation but you are authenticated with an OAuth grant that cannot be propagated. Please perform this operation with a grant type that contains a user identity.",
"logId": "615e37d6-6a46-4043-b30e-8420afe1c0e8"
}
}
Created destination using outh2clientcredentials.
Can someone help with this quickly.
Request clarification before answering.
Can you share the API that you are using? Guessing on the error, you are using the destination with client credentials. It's expecting principal propagation (eg. OAuth2UserTokenExchange). Then you should allow your UI5 app to propagate the user from the app to destination.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, I've used both. You will see SAML while consuming the analytics cloud service. AFAIK, it depends on the provider; if the provider IDP is based on SAML then we need to use OAuth2SAMLBearerAssertion.
Thanks Mahesh.
Hi Divya,
This is the destination configuration that worked for me:
Did you also setup an API Trigger for the process?
Regards,
Mustafa.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mahesh,
Please find the details below
API - https://spa-api-gateway-bpi-eu-prod.cfapps.eu10.hana.ondemand.com/workflow.
Authentication - OAuth2ClientCredentials
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would have expected the API URL in your destination configuration to be more like the following:
https://spa-api-gateway-bpi-eu-prod.cfapps.eu10.hana.ondemand.com/workflow/rest/v1/workflow-instance...
User | Count |
---|---|
62 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.