Skip to content

Commit 0a9c8e4

Browse files
committed
Remove Slack section, link scopes references, add SSO setup link
- Remove Slack User vs Bot section (linked elsewhere) - Change connector guide links to point directly to scopes sections - Add link to SSO setup guide in loginWithProvider docs Made-with: Cursor
1 parent 3b5461a commit 0a9c8e4

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

src/modules/auth.types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ export interface AuthModule {
199199
* - `'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.
200200
* - `'facebook'`: {@link https://developers.facebook.com/docs/facebook-login | Facebook Login}. Enable Facebook in your app's authentication settings before using.
201201
* - `'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.
202+
* - `'sso'`: Enterprise SSO. {@link https://docs.base44.com/Setting-up-your-app/Setting-up-SSO | Set up an SSO provider} in your app's authentication settings before using this provider.
203203
*
204204
* @param provider - The authentication provider to use: `'google'`, `'microsoft'`, `'facebook'`, `'apple'`, or `'sso'`.
205205
* @param fromUrl - URL to redirect to after successful authentication. Defaults to `'/'`.

src/modules/connectors.types.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,7 @@ export interface ConnectorAccessTokenResponse {
5858
* | Slack Bot | `slackbot` |
5959
* | TikTok | `tiktok` |
6060
*
61-
* Some connectors have dedicated setup guides: {@link https://docs.base44.com/Integrations/gmail-connector | Gmail}, {@link https://docs.base44.com/Integrations/linkedin-connector | LinkedIn}, and {@link https://docs.base44.com/Integrations/slack-connector | Slack} (covers both `slack` and `slackbot`).
62-
*
63-
* ### Slack User vs Slack Bot
64-
*
65-
* Base44 provides two Slack connectors: `slack` uses a user token and acts as the connected user, while `slackbot` uses a bot token with a customizable display name. Use `slack` when your app needs to read Slack data or act with a user's permissions. Use `slackbot` for sending automated messages as a branded bot. See the {@link https://docs.base44.com/Integrations/slack-connector | Slack connectors} guide for full details.
61+
* For available scopes, see the permissions reference for each service: {@link https://docs.base44.com/Integrations/gmail-connector#gmail-scopes-and-permissions | Gmail}, {@link https://docs.base44.com/Integrations/linkedin-connector#linkedin-scopes-and-permissions | LinkedIn}, {@link https://docs.base44.com/Integrations/slack-connector#slack-scopes-and-permissions | Slack}.
6662
*
6763
* ## Authentication Modes
6864
*

0 commit comments

Comments
 (0)