Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix(studio): copy updates to revoke oauth modal (#46687)

Alex Hall3e3496ef6c39
diff --git a/apps/studio/components/interfaces/Organization/OAuthApps/RevokeAppModal.tsx b/apps/studio/components/interfaces/Organization/OAuthApps/RevokeAppModal.tsx
index f46e0e4d037..bdf097b0d95 100644
--- a/apps/studio/components/interfaces/Organization/OAuthApps/RevokeAppModal.tsx
+++ b/apps/studio/components/interfaces/Organization/OAuthApps/RevokeAppModal.tsx
@@ -40,13 +40,13 @@ export const RevokeAppModal = ({ selectedApp, onClose }: RevokeAppModalProps) =>
<AlertDialog open={selectedApp !== undefined} onOpenChange={onClose}>
<AlertDialogContent size="medium">
<AlertDialogHeader>
- <AlertDialogTitle>{`Confirm to revoke ${selectedApp?.name}`}</AlertDialogTitle>
+ <AlertDialogTitle>{`Revoke access for ${selectedApp?.name}?`}</AlertDialogTitle>
<AlertDialogDescription>
<div className="flex flex-col space-y-2">
<Admonition
type="warning"
title="This action cannot be undone"
- description={`${selectedApp?.name} application will no longer have access to your organization's settings
+ description={`${selectedApp?.name} will no longer have access to your organization's settings
and projects.`}
/>
<ul className="space-y-5">
@@ -56,8 +56,15 @@ export const RevokeAppModal = ({ selectedApp, onClose }: RevokeAppModalProps) =>
<strong>Before you remove this app, consider:</strong>
<ul className="space-y-2 mt-2">
<li className="list-disc ml-4">
- No users are currently using this application. The application will no
- longer have access to your organization after being revoked.
+ The application will no longer have access to your organization after being
+ revoked.
+ </li>
+ <li className="list-disc ml-4">
+ This will remove the application for all members in your organization.
+ </li>
+ <li className="list-disc ml-4">
+ Restoring access will require an organization administrator to re-authorize
+ the application.
</li>
</ul>
</div>