We are facing the following problem.
We need to make webservice callout through Mulesoft in a way the user is making the call is not a service user, but the logged one:
- Both Salesforce and webservice are in SSO
- SSO is done through SAML and Salesforce is not Identity Provider
Is there a way in Apex to retrieve token/SAML session to pass to the callout to have the user authenticated and logged?