We have a new published module this week. Apostrophe-salesforce-experience allows you to customize an ApostropheCMS website content experience for visitors based on their Salesforce profiles in a specific Salesforce instance. The developer will write SOQL queries to establish a set of “experiences,” or Salesforce profiles. Website editors can then set specific widgets, pages, and pieces to display for a given set of those experiences.
Thanks to SAML, users can log into your Salesforce instance, then be returned to your website. Once they do, the module serves as a wrapper for an OAuth connection to a Salesforce instance as well as querying with that connection to find an array of “experiences,” which can be query results of anything from groups to product associations to anything else Salesforce makes available via their APIs.