silverstripe-australia/salesforce-auth

This package is abandoned and no longer maintained. The author suggests using the symbiote-library/silverstripe-salesforce-auth package instead.

Provides authentication using the Salesforce OAuth API

1.0.1 2017-06-29 06:26 UTC

This package is not auto-updated.

Last update: 2022-02-01 12:42:02 UTC


README

IMPORTANT

This module is no longer actively maintained, however, if you're interested in adopting it, please let us know!

SilverStripe Salesforce Authentication Module

This module provides an authenticator which uses the Salesforce OAuth authentication service.

Installation

  • Create an OAuth enabled external application in the Salesforce control panel through the Create / Apps section.
  • Set the Callback URL to https://<your-site>/salesforce-auth/callback, ensuring you use a HTTPS scheme.
  • Configure the SalesforceAuth service, for example using the configuration file show below.
Injector:
  SalesforceAuth:
    constructor:
      - '<client_id>'
      - '<client_secret>'