on 2024 Aug 16 8:02 AM
Dear Community
I am facing an issue while accessing Information from an oData v4 Service based on CAP CDS by an UI integration card in Workzone.
The service is setup and running as a service instance in BTP. I have created a destination pointing to the CAP service manually to ensure SSO access to the service:
Till now everything works like a charm. I can access the service via Workzone dynamic destination from the ui integration card:
But: each time I am deploying the service and the bound uaa instance, the client secret is regenerated and the SSO breaks:
I need to update the client secret in the destination manually. After updating the client-secret in the destination, SSO is enabled again, and the access is possible.
Is there a way to create / update the destination automatically after deployment of the service or fix the client secret as it is fixed for client id and the certificate?
Is there another way to consume the service I missed?
Addressing the approuter of the service directly leads to a cors exception in the browser and will not be an option.
BR and thanks for your feedback
Request clarification before answering.
@ahmet_pelit in the meantime I am creating the destination objects via mta on subaccount / instance level automatically using destination content option as described below:
The name given in "sap.cloud.service" is the same as defined in srv module definition section
The parameter set in package.json are obsolete in that case because the destination is recreated after each deployment automatically!
Hope this helps. In case of question, please send me a private message
BR
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
73 | |
18 | |
9 | |
8 | |
7 | |
4 | |
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.