<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z0000AIFodECQTOkta Classic EngineAuthenticationAnswered2026-01-17T09:00:44.000Z2024-11-22T15:28:20.000Z2024-11-29T17:01:55.000Z

e7n08 (e7n08) asked a question.

Authenticating API Calls from Salesforce to Another App with Okta SSO on Behalf of the User

The situation is as follows: we are using Okta as the identity provider for SSO in Salesforce and another internally developed app. The requirement is as follows: when a user logs into Salesforce, there is an LWC component that, through Apex, needs to make an API call to the other app. Is there a way for this API call to be authenticated by Okta on behalf of the user who has already performed SSO to log into Salesforce?


  • Hello @e7n08 (e7n08)​ Thank you for posting on our Community page!

     

    Through the normal SAML application that we have in the OIN I do not think this might be possible, however you could try to use an OIDC connection with Okta and Salesforce and maybe through this way you can achieve this:

    https://help.salesforce.com/s/articleView?id=001116199&type=1

    Additionally you could check with Salesforce support to see if this is possible.

     

    Thank you for reaching out to our Community and have a great day!

    --

    Help others in the community by liking or hitting Select as Best if this response helped you.

    Expand Post
    Selected as Best
  • Hello @e7n08 (e7n08)​ Thank you for posting on our Community page!

     

    Through the normal SAML application that we have in the OIN I do not think this might be possible, however you could try to use an OIDC connection with Okta and Salesforce and maybe through this way you can achieve this:

    https://help.salesforce.com/s/articleView?id=001116199&type=1

    Additionally you could check with Salesforce support to see if this is possible.

     

    Thank you for reaching out to our Community and have a great day!

    --

    Help others in the community by liking or hitting Select as Best if this response helped you.

    Expand Post
    Selected as Best
This question is closed.
Loading
Authenticating API Calls from Salesforce to Another App with Okta SSO on Behalf of the User