function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
KrForceKrForce 

From Salesforce how to invoke ext webservice using SAML assertion?

​We have salesforce connected to SAML SSO(OKTA) and OKTA is IDP for salesforce.

We have a Java legacy system which provides a Web service and it is also part of SSO. Legacy application expects SAML response to get in.

now, in my case how do we handle the SSO for server to server Call outs?

Thank you in Advance.
Daniel BallingerDaniel Ballinger
Have you seen named credentials (https://help.salesforce.com/apex/HTViewHelpDoc?id=external_authentication.htm&language=en_US)? They provide the option of using OAuth 2.0 as the authentication provider for the external system. Maybe you can use something like the OAuth 2.0 SAML Bearer Assertion Flow (https://help.salesforce.com/apex/HTViewHelpDoc?id=remoteaccess_oauth_SAML_bearer_flow.htm&language=en) that Salesforce provides. (I'm aware that the Salesforce implementation for the flow won't help you here)