您在此处:
将外部客户端应用程序与源组织全局设置文件关联
要将外部客户端应用程序与源组织的全局设置关联,请配置元数据文件以引用源组织,然后从链接的组织部署外部客户端应用程序。
-
从组织 3 中删除 OAuth 设置文件。
sf project delete source --source-dir force-app/main/default/extlClntAppOauthSettings --target-org johndoe@example3.com -
从源组织检索元数据文件。
sf project retrieve start --manifest package.xml --target-org johndoe@example.com - 删除 package.xml 文件中的全局设置文件。
-
在组织 3 中部署已配置的外部客户端应用程序元数据。
sf project deploy start –-manifest package.xml --target-org johndoe@example3.com -
通过在外部客户端应用程序中查找 3 个文件,验证部署是否成功。
- 标题文件
- 设置文件
- 策略文件
- 为关联的外部客户端应用程序启动授权端点
将关联的组织元数据配置为引用开发人员组织的全局设置文件后,启动 OAuth 流以获取访问令牌。
