You need to sign in to do that
Don't have an account?
wendy chan 3
Question about using SSO Connected App
I was wondering if someone can help me with an issue I have with Single Sign On. I have implemented a Single Sign on with one of our Third Party app using "Connected Apps" in Salesforce. SSO works fine, but I want to pass some additional information such as Account Name, Type, Industry etc. So that a new account is created in Third Party app along with SSO. is there a way I can accomplish this ? I want to pass SAML as well as JSON attribute in the SAML request. This Third Party app allows creating account in SAML request.
You can do it in a slightly roundabout way by having the trigger event (click on your button) call ApEx/VF code that collects and writes your desired payload to some standard or custom object or merely persists some state (such as Account Id) somewhere. The connected app can then retrieve this payload/state and dynamically create the right attributes. The latter step has to be done in ApEx (can't be in VF) via Connected App plugin:
For more information please check with below link:
- https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_class_Auth_ConnectedAppPlugin.htm
Hope this helps.Please mark this as solved if it's resolved.
Regards,
Nagendra.