mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-20 00:03:21 +00:00
oauth: add zendesk provider (#11813)
* oauth: add zendesk provider Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * oauth: default zendesk auth-code scopes in the connect template Templated providers build the instance client's connect_config from connect_config_template, so the top-level scopes never reached the authorization-code dialog. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019pZhg9BJcsnU56GP4WzzrU --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
0b1935f251
commit
a70ec992f5
@@ -615,5 +615,29 @@
|
||||
"optional_scope": "tickets crm.objects.line_items.read crm.objects.line_items.write e-commerce crm.objects.quotes.read crm.objects.quotes.write crm.objects.leads.read crm.objects.leads.write crm.objects.custom.read crm.objects.custom.write crm.schemas.custom.read crm.lists.read crm.lists.write sales-email-read forms files content crm.objects.marketing_events.read marketing.campaigns.read communication_preferences.read_write automation automation.sequences.read automation.sequences.enrollments.write conversations.read conversations.write scheduler.meetings.meeting-link.read"
|
||||
},
|
||||
"req_body_auth": true
|
||||
},
|
||||
"zendesk": {
|
||||
"grant_types": ["authorization_code", "client_credentials"],
|
||||
"scopes": ["read", "write"],
|
||||
"cc_scopes": ["read", "write"],
|
||||
"scope_options": [
|
||||
{ "value": "read", "label": "Read tickets, users, organizations and Help Center content" },
|
||||
{ "value": "write", "label": "Create, update and delete tickets, users, organizations and Help Center content" }
|
||||
],
|
||||
"req_body_auth": true,
|
||||
"connect_config_template": {
|
||||
"display_name": "Zendesk",
|
||||
"label": "Zendesk subdomain",
|
||||
"placeholder": "yourcompany (from yourcompany.zendesk.com)",
|
||||
"help_url": "https://developer.zendesk.com/documentation/api-basics/authentication/oauth-migration/",
|
||||
"auth_url": "https://{instance}.zendesk.com/oauth/authorizations/new",
|
||||
"token_url": "https://{instance}.zendesk.com/oauth/tokens",
|
||||
"scopes": ["read", "write"],
|
||||
"req_body_auth": true,
|
||||
"strip_suffix": ".zendesk.com",
|
||||
"resource_mapping": {
|
||||
"subdomain": "{instance}"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user