I need to redirect my users from my website to the Salesforce community.How can I use their username and password from my website and pass it to Salesforce community so that users are not asked to login to community?

Any help is appreciated.


When doing this sort of thing you do NOT retain the username and password detail for forwarding - this would be a massive security no-no. Instead you use some form of "Single Sign-on". See the Salesforce documentation on what they can support. There is also this article about configuring SAML for communities.

  • Thanks for your reply. Is it possible and safe to do using oauth 2.0? will I be able to achieve it using javascript in my web page? – user41998 Mar 14 at 9:18
  • In principle (and not knowing the specifics of your web site and its authentication functionality) it should be possible. For more on OAuth and Salesforce take a look at help.salesforce.com/… – Phil W Mar 14 at 10:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.