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
xyz1xyz1 

Accessing the Web Applications in FDC using single SignOn

Hi,

 

     I am working on invoking a webservice present in ne org(say target org) from another org(say source org) using Apex REST. I am successful in achieving this using oAuth 2.0 where I need to gives target credentials and approve to access target service.

I want to know is there any way to implement the same without asking the source to give the credentials of target. Or in other way , whenever the source logs into his account, he should be able to invoke what ever service he needs without giving any credentials. Exaclty like what soap does(ofcourse you need to have targets WSDL for soap). I think this concept is similar to Single Sing On.

 

Any help is highly appreciated.

dkadordkador

Single sign on (otherwise known as delegated auth) will work in conjunction with oauth2.  But it still requires the service to implement a SOAP-based SSO server.