• wwu
  • NEWBIE
  • 25 Points
  • Member since 2010

  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 3
    Replies

Hello,

 

     Is there a way in Salesforce to achieve Single Sign-on to Sites using Facebook credentials without requiring an external federated server?

 

I am aware that Salesforce provides "Federated single sign-on using SAML" through which Single Sign-on using Facebook credentials can be achieved. This method however requies one to setup a complex external OpenAM federated server.

 

Is there any way one can use the Auth Providers to allow a Customer Portal User to login to Sites through his Facebook credentials?

 

I am currently able to configure Auth Provides to allow Customer Portal Users to login to the Customer Portal through their Facebook credentials. However I am unable to find an easy way to do this to the Sites. Any help regarding this is much appreciated. Thanks in advance.

 

-Rajiv

Hello,

 

     Is there a way in Salesforce to achieve Single Sign-on to Sites using Facebook credentials without requiring an external federated server?

 

I am aware that Salesforce provides "Federated single sign-on using SAML" through which Single Sign-on using Facebook credentials can be achieved. This method however requies one to setup a complex external OpenAM federated server.

 

Is there any way one can use the Auth Providers to allow a Customer Portal User to login to Sites through his Facebook credentials?

 

I am currently able to configure Auth Provides to allow Customer Portal Users to login to the Customer Portal through their Facebook credentials. However I am unable to find an easy way to do this to the Sites. Any help regarding this is much appreciated. Thanks in advance.

 

-Rajiv

We are using the Databasedotcom Ruby gem (essentially a REST wrapper) to authenticate to salesforce. The OAuth dance is randomly failing (1 out of 25 attempts) with the following message: 

 

client identifier invalid

 

The code is almost boilerplace code for authentication:

 

def self.authenticate(username, password)
  config = YAML.load_file(File.join(::Rails.root, 'config', 'databasedotcom.yml'))
  client = Databasedotcom::Client.new(config)
  begin
    access_token = client.authenticate :username => username, :password => password
    {:success => 'true', :message => 'Successful sfdc login.', :access_token => access_token}
  rescue Exception => exc
    {:success => 'false', :message => exc.message}
  end
end

 

Any ideas what could be causing it to fail randomly?

 

Thanks

 

Jeff Douglas

Appirio & CloudSpokes

http://blog.jeffdouglas.com