You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add slackbot, discord, googlebigquery, and github to connectors JSDoc
with available connectors table and Slack User vs Bot explanation
- Expose ConnectorIntegrationType and ConnectorIntegrationTypeRegistry
in generated docs via types-to-expose and appended-articles config
- Group connector types under Type Definitions in post-processing
- Fix copy-to-local-docs to support dropdowns navigation format
- Remove SSO from loginWithProvider docs (not ready for public docs)
- Switch auth provider list separators from hyphens to colons
Made-with: Cursor
Copy file name to clipboardExpand all lines: .claude/skills/sdk-docs-writing/SKILL.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -196,6 +196,10 @@ mint dev
196
196
197
197
When adding a new public type, add it to `types-to-expose.json`. When a helper type should live inside another page, add it to `appended-articles.json`.
198
198
199
+
## Review checklist for multi-page changes
200
+
201
+
When a docs task touches three or more pages in `mintlify-docs` (including pages regenerated by `create-docs-local`), create a `REVIEW-CHECKLIST.md` file in the mintlify-docs repo root listing every affected page with its URL path and what to verify. Split the list into intentional changes and side-effect changes from regeneration. Add a reminder to delete the file before committing. Tell the user the checklist exists so they can work through it at their own pace.
202
+
199
203
## Checklist before submitting a PR
200
204
201
205
1. **JSDoc completeness:** Every public method has description, `@param`, `@returns`, and `@example`.
* Initiates an OAuth login flow with one of the built-in providers. Requires a browser environment and can't be used in the backend.
196
196
*
197
197
* Supported providers:
198
-
* - `'google'` - {@link https://developers.google.com/identity/protocols/oauth2 | Google OAuth}. Enabled by default.
199
-
* - `'microsoft'` - {@link https://learn.microsoft.com/en-us/entra/identity-platform/v2-oauth2-auth-code-flow | Microsoft OAuth}. Enable Microsoft in your app's authentication settings before specifying this provider.
200
-
* - `'facebook'` - {@link https://developers.facebook.com/docs/facebook-login | Facebook Login}. Enable Facebook in your app's authentication settings before using.
201
-
* - `'apple'` - {@link https://developer.apple.com/sign-in-with-apple/ | Sign in with Apple}. Enable Apple in your app's authentication settings before using this provider.
202
-
* - `'sso'` - Enterprise SSO. Enable SSO in your app's authentication settings before using this provider.
198
+
* - `'google'`: {@link https://developers.google.com/identity/protocols/oauth2 | Google OAuth}. Enabled by default.
199
+
* - `'microsoft'`: {@link https://learn.microsoft.com/en-us/entra/identity-platform/v2-oauth2-auth-code-flow | Microsoft OAuth}. Enable Microsoft in your app's authentication settings before specifying this provider.
200
+
* - `'facebook'`: {@link https://developers.facebook.com/docs/facebook-login | Facebook Login}. Enable Facebook in your app's authentication settings before using.
201
+
* - `'apple'`: {@link https://developer.apple.com/sign-in-with-apple/ | Sign in with Apple}. Enable Apple in your app's authentication settings before using this provider.
203
202
*
204
-
* @param provider - The authentication provider to use: `'google'`, `'microsoft'`, `'facebook'`, `'apple'`, or `'sso'`.
203
+
* @param provider - The authentication provider to use: `'google'`, `'microsoft'`, `'facebook'`, or `'apple'`.
205
204
* @param fromUrl - URL to redirect to after successful authentication. Defaults to `'/'`.
* Connectors module for managing OAuth tokens for external services.
29
30
*
30
-
* This module allows you to retrieve OAuth access tokens for external services that the app has connected to. Connectors are app-scoped. When an app builder connects an integration like Google Calendaror Slack, all users of the app share that same connection.
31
+
* This module allows you to retrieve OAuth access tokens for external services that the app has connected to. Connectors are app-scoped. When an app builder connects an integration like Google Calendar, Slack, or GitHub, all users of the app share that same connection.
31
32
*
32
33
* Unlike the integrations module that provides pre-built functions, connectors give you
33
34
* raw OAuth tokens so you can call external service APIs directly with full control over
34
35
* the API calls you make. This is useful when you need custom API interactions that aren't
35
36
* covered by Base44's pre-built integrations.
36
37
*
38
+
* ## Available connectors
39
+
*
40
+
* All connectors work through [`getAccessToken()`](#getaccesstoken). Pass the integration type string and use the returned OAuth token to call the external service's API directly.
41
+
*
42
+
* | Service | Type identifier |
43
+
* |---|---|
44
+
* | Discord | `discord` |
45
+
* | GitHub | `github` |
46
+
* | Gmail | `gmail` |
47
+
* | Google BigQuery | `googlebigquery` |
48
+
* | Google Calendar | `googlecalendar` |
49
+
* | Google Docs | `googledocs` |
50
+
* | Google Drive | `googledrive` |
51
+
* | Google Sheets | `googlesheets` |
52
+
* | Google Slides | `googleslides` |
53
+
* | HubSpot | `hubspot` |
54
+
* | LinkedIn | `linkedin` |
55
+
* | Notion | `notion` |
56
+
* | Salesforce | `salesforce` |
57
+
* | Slack User | `slack` |
58
+
* | Slack Bot | `slackbot` |
59
+
* | TikTok | `tiktok` |
60
+
*
61
+
* ### Slack User vs Slack Bot
62
+
*
63
+
* Base44 provides two separate Slack connectors with different OAuth flows:
64
+
*
65
+
* - **`slack`** (Slack User): Uses a user token. API calls act as the connected Slack user. Requests user-level scopes such as reading conversations and searching message history. Some organizations restrict user-scope Slack apps.
66
+
* - **`slackbot`** (Slack Bot): Uses a bot token. API calls act as a bot with a customizable display name and icon. Requests bot-level scopes, which are more commonly allowed by organizations with stricter security policies. The bot can post to public channels without being invited and supports custom branding per message.
67
+
*
37
68
* ## Authentication Modes
38
69
*
39
70
* This module is only available to use with a client in service role authentication mode, which means it can only be used in backend environments.
0 commit comments