diff --git a/shared/studio/tabs/auth/icons.tsx b/shared/studio/tabs/auth/icons.tsx index f61774a1..d8408b7d 100644 --- a/shared/studio/tabs/auth/icons.tsx +++ b/shared/studio/tabs/auth/icons.tsx @@ -170,3 +170,49 @@ export function GoogleIcon() { ); } + +export function SlackIcon() { + return ( + + + + + + + + + + + ); +} diff --git a/shared/studio/tabs/auth/state/index.tsx b/shared/studio/tabs/auth/state/index.tsx index 3b62d81a..43d033c3 100644 --- a/shared/studio/tabs/auth/state/index.tsx +++ b/shared/studio/tabs/auth/state/index.tsx @@ -15,6 +15,7 @@ import { DiscordIcon, GithubIcon, GoogleIcon, + SlackIcon, } from "../icons"; export interface AuthConfigData { @@ -30,7 +31,8 @@ export type OAuthProviderData = { | "ext::auth::AzureOAuthProvider" | "ext::auth::DiscordOAuthProvider" | "ext::auth::GitHubOAuthProvider" - | "ext::auth::GoogleOAuthProvider"; + | "ext::auth::GoogleOAuthProvider" + | "ext::auth::SlackOAuthProvider"; client_id: string; additional_scope: string; }; @@ -108,6 +110,11 @@ export const _providersInfo: { displayName: "Google", icon: , }, + "ext::auth::SlackOAuthProvider": { + kind: "OAuth", + displayName: "Slack", + icon: , + }, // local "ext::auth::EmailPasswordProviderConfig": { kind: "Local",