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
sales4cesales4ce 

web tab question

Hi,

 

Can we create a webtab that would login into a different system using salesforce session Id??

If so can anyone point me in the right direction??

 

Thanks,

Sales4ce

Chamil MadusankaChamil Madusanka

You need to enable single sign on.

 

Use following links

 

https://login.salesforce.com/help/doc/en/salesforce_single_sign_on.pdf

 

http://boards.developerforce.com/t5/Security/SAML-SSO-With-Salesforce-Com-A-Dummy-s-Explanation/m-p/246037


http://boards.developerforce.com/t5/Security/How-to-turn-on-Delegated-Authentication-SSO/m-p/275411

 

If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.

 

Chamil's Blog

 

 

sales4cesales4ce

Hi Chamil,

 

Thanks for your reply.

My question is :

 

we have another system which should be setup as a tab in Salesforce and clicking the tab the user should login into the system using Salesforce session.

 

1) Should the single signon be done at the other system?

 

i am still a little confused where to start??

 

Thanks,

Sales4ce

mshelmanmshelman

You can use the API_Session_ID and API_Server merge fields when constructing URLs for custom links or custom tabs, the recieving website can use these parameters to validate the user and initialize the salesforce api.

 

mike

Chamil MadusankaChamil Madusanka

Hi,

 

You have to enable single sign on in salesforce. Here is the path

 

Setup-->Security Control-->Single sign on

 

If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.

SuperfellSuperfell

Its a different kind of single sign on than those. You have a sessionid & serverUrl passed to your webpage and you can use this to establish the identity of the salesforce.com user, this doc on single sign on for composite apps has all the details.

mshelmanmshelman

and a more secure version of the same idea...