afv-library/skills/configuring-connected-apps/assets/eca-oauth-settings.xml
sandipkumar-yadav 37aa84df42
feat: @W-22444026@ Introducing Core Skills, Datacloud Skills, Industries and Utility Skills. (#268)
* Migrating Core Salesforce Skills

* Updating pr comments

* updat reference

* Updating a skill

* Migrating Datacloud skills

* Migrating Industries cloud skills

* Validating - skills fixing

---------

Co-authored-by: Sandip Kumar Yadav <sandipkumar.yadav+sfemu@salesforce.com>
2026-05-14 19:32:15 +05:30

37 lines
1.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
Template: External Client App - Instance OAuth Settings
Use Case: Configure OAuth scopes for the ECA
Replace placeholders:
- {{APP_NAME}}: The ExternalClientApplication API name (must match .eca file)
- {{LABEL}}: Display label for this OAuth settings configuration
- {{SCOPES}}: Comma-separated OAuth scopes (e.g., "Api, RefreshToken, OpenID")
Common Scope Combinations:
- API Integration: Api, RefreshToken
- Web App with Identity: Api, RefreshToken, OpenID, Profile, Email
- Server-to-Server: Api
- Mobile App: Api, RefreshToken, OpenID
Available Scopes:
- Api: REST/SOAP API access
- RefreshToken: Offline access via refresh token
- OpenID: OpenID Connect (user identity)
- Profile: User profile information
- Email: User email address
- Web: Web browser access
- ChatterApi: Chatter REST API
- CustomPermissions: Custom permission access
IMPORTANT: OAuth flows (Authorization Code, Client Credentials, etc.) are
configured via the Admin UI or ExtlClntAppOauthConfigurablePolicies, NOT here.
File Naming: [AppName].ecaOauth-meta.xml
-->
<ExtlClntAppOauthSettings xmlns="http://soap.sforce.com/2006/04/metadata">
<commaSeparatedOauthScopes>{{SCOPES}}</commaSeparatedOauthScopes>
<externalClientApplication>{{APP_NAME}}</externalClientApplication>
<label>{{LABEL}}</label>
</ExtlClntAppOauthSettings>