如何制作包含密钥的appexchange包?
我正在 cakephp 的第三方应用程序中实施 salesforce。我的消费者密钥仅在我创建的一个组织中,它在任何其他组织中都不起作用。如何制作包含密钥的 appexchange 软件包,以便我可以在其他组织中安装该软件包。 谢谢
I am implementing salesforce in a 3rd party app in cakephp. My consumer key is only in one org that I created , its not working in any other org. How to make an appexchange package that includes the key so that I can install the package in other orgs.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要创建所谓的托管包,并将令牌/远程访问设置添加到该包。要创建托管包,您必须在开发人员组织中打开托管命名空间,因此,我将在新的/单独的开发人员版本帐户中执行此操作。
现在,您已使用安装 URL 创建并发布了包含令牌的包,您现在可以在其他组织中安装该包。
目标组织中的用户现在应该能够使用您的 oauth 信息登录。
You need to create whats called a managed package, and to add the token/remote access settings to that package. To create a managed package, you have to turn on a managed namespace in your developer org, for that reason, i would do this in a new/separate developer edition account.
Now you've created and published your package that contains your tokens, using the installation URL, you can now install that package in other orgs.
users in the target org should now be able to login with your oauth info.