• Ian Hildreth
  • NEWBIE
  • 0 Points
  • Member since 2013
  • CTO
  • AWPRx

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 0
    Replies
We currently host a public website with wordpress, outside of salesforce. We'd like users to be able to enter their username and password into a form directly on the wordpress site, and upon clicking login, authenticate their credentials with salesforce and redirect the user to the customer community home page.

What's the best way to get this done?

We've currently embedded an iframe on the wordpress site that is hosted by salesforce and written in visualforce to handle the login and redirect to the community, but this comes with issues such as inconsistent behavior in IE11 and the fact that now part of the website is controlled outside of wordpress with its own styles and is therefore more difficult to maintain.

Is it possible to write javascript to connect to the Salesforce API to handle the login and redirect to the community, so there isn't a need for any framing? What is the best practice? 

Providing a button or link to take the user from the wordpress site to a salesforce hosted login page is not an option, it is an absolute requirement that the user can log in to the community without the extra click of navigating to a separate login page.
We are looking for a full time Salesforce.com developer to join our fast-growing company in the Orlando Florida area. National candidates welcome, we cover relocation expenses!  More information:

http://hiring.monster.com/jpw/jobs/jobspreviewpopup.aspx?post=true&source=jcm&folderid=170495243
We are looking for a full time Salesforce.com developer to join our fast-growing company in the Orlando Florida area. National candidates welcome, we cover relocation expenses!  More information:

http://hiring.monster.com/jpw/jobs/jobspreviewpopup.aspx?post=true&source=jcm&folderid=170495243