silverstripe-australia/salesforce-auth

此包已被废弃,不再维护。作者建议使用symbiote-library/silverstripe-salesforce-auth包。

提供使用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

重要

此模块不再积极维护,但如果您有兴趣采用它,请告知我们!

SilverStripe Salesforce身份验证模块

此模块提供了一个使用Salesforce OAuth身份验证服务的认证器。

安装

  • 在Salesforce控制面板的“创建/应用”部分创建一个启用了OAuth的外部应用。
  • 将回调URL设置为 https://<your-site>/salesforce-auth/callback,确保您使用HTTPS方案。
  • 配置SalesforceAuth服务,例如使用以下配置文件。
Injector:
  SalesforceAuth:
    constructor:
      - '<client_id>'
      - '<client_secret>'