diff --git a/apps/studio/components/interfaces/Organization/OAuthApps/Consent/AuthorizingAsCard.tsx b/apps/studio/components/interfaces/Organization/OAuthApps/Consent/AuthorizingAsCard.tsx index 3a214b55981..a1f4a4e1643 100644 --- a/apps/studio/components/interfaces/Organization/OAuthApps/Consent/AuthorizingAsCard.tsx +++ b/apps/studio/components/interfaces/Organization/OAuthApps/Consent/AuthorizingAsCard.tsx @@ -1,56 +1,45 @@ -import { LogOut, RefreshCcw } from 'lucide-react' -import { Button } from 'ui' +import { LogOut } from 'lucide-react' +import { Button, Tooltip, TooltipContent, TooltipTrigger } from 'ui' export interface AuthorizingAsCardProps { email: string organizationSlug: string onSignOut: () => void - showSwitcher?: boolean - onSwitchOrg?: () => void } export const AuthorizingAsCard = ({ email, organizationSlug, onSignOut, - showSwitcher = false, - onSwitchOrg, }: AuthorizingAsCardProps) => { return (
-
+
Authorizing as {email} -
Organization - - {organizationSlug} - {showSwitcher && ( -
-

+

This grant acts as you, it can never do more than your role in this organization allows.

diff --git a/apps/studio/components/interfaces/Organization/OAuthApps/Consent/OAuthAppsAuthorizeScreen.tsx b/apps/studio/components/interfaces/Organization/OAuthApps/Consent/OAuthAppsAuthorizeScreen.tsx index 111a9d74c09..dff9e8f5aa2 100644 --- a/apps/studio/components/interfaces/Organization/OAuthApps/Consent/OAuthAppsAuthorizeScreen.tsx +++ b/apps/studio/components/interfaces/Organization/OAuthApps/Consent/OAuthAppsAuthorizeScreen.tsx @@ -171,8 +171,6 @@ export const OAuthAppsAuthorizeScreen = ({ email={identity.email} organizationSlug={memberOrg.slug} onSignOut={handleSignOut} - showSwitcher={identity.organizations.length > 1} - onSwitchOrg={handleSwitchOrg} /> {hasProjects ? ( @@ -198,7 +196,7 @@ export const OAuthAppsAuthorizeScreen = ({ )} -
+