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
Ian Stewart 3Ian Stewart 3 

Delegated authentication with REST API

I gave a .Net desktop application that can successfully authenticate using either the web-server oAuth authentication flow or the username password oAuth flow and I have it working using SAML in a Federated SSO environment.

I now have to get it working in a Delegated SSO environement. I can obtain a token from the client's token generator. But it is not clear how I can sign in and exchange that for the token that I need to use in the REST API calls. 
Anyone know how to do this?

GunishGunish
I was researching this topic and found this Long open question - basically Delegated Authentication is only supposed via SOAP Protocol, because of requirements related to namespaces etc, detailed on this page - https://help.salesforce.com/articleView?id=sso_tips.htm&type=5

OR

Write a wrapper to translate the SOAP requests into REST Like this - https://help.salesforce.com/articleView?id=000315498&type=1&mode=1