@base44-preview/sdk 0.8.20-pr.136.28e7eab → 0.8.20-pr.136.7f5461e
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -185,8 +185,9 @@ export interface AuthModule {
|
|
|
185
185
|
* - `'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.
|
|
186
186
|
* - `'facebook'`: {@link https://developers.facebook.com/docs/facebook-login | Facebook Login}. Enable Facebook in your app's authentication settings before using.
|
|
187
187
|
* - `'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.
|
|
188
|
+
* - `'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.
|
|
188
189
|
*
|
|
189
|
-
* @param provider - The authentication provider to use: `'google'`, `'microsoft'`, `'facebook'`, or `'
|
|
190
|
+
* @param provider - The authentication provider to use: `'google'`, `'microsoft'`, `'facebook'`, `'apple'`, or `'sso'`.
|
|
190
191
|
* @param fromUrl - URL to redirect to after successful authentication. Defaults to `'/'`.
|
|
191
192
|
*
|
|
192
193
|
* @example
|
|
@@ -207,6 +208,12 @@ export interface AuthModule {
|
|
|
207
208
|
* base44.auth.loginWithProvider('apple', '/dashboard');
|
|
208
209
|
* ```
|
|
209
210
|
*
|
|
211
|
+
* @example
|
|
212
|
+
* ```typescript
|
|
213
|
+
* // SSO
|
|
214
|
+
* base44.auth.loginWithProvider('sso', '/dashboard');
|
|
215
|
+
* ```
|
|
216
|
+
*
|
|
210
217
|
*/
|
|
211
218
|
loginWithProvider(provider: string, fromUrl?: string): void;
|
|
212
219
|
/**
|
|
@@ -65,11 +65,7 @@ export interface ConnectorConnectionResponse {
|
|
|
65
65
|
* | Slack Bot | `slackbot` |
|
|
66
66
|
* | TikTok | `tiktok` |
|
|
67
67
|
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
* ### Slack User vs Slack Bot
|
|
71
|
-
*
|
|
72
|
-
* 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.
|
|
68
|
+
* 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}.
|
|
73
69
|
*
|
|
74
70
|
* ## Authentication Modes
|
|
75
71
|
*
|