From 887279ec2a6d7863ef8a6e2cad73c19e54f11877 Mon Sep 17 00:00:00 2001 From: Danny White <3104761+dnywh@users.noreply.github.com> Date: Fri, 4 Sep 2026 16:52:28 +1000 Subject: [PATCH] fix(studio): align remaining platform auth labels (#49879) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## What kind of change does this PR introduce? Copy fix in Studio platform UI. ## What is the current behavior? Studio still uses mixed auth wording outside nav dropdowns: in-app API docs use "Log in", account email change uses "Log out of", forgot-password uses title-case "Sign In", and org invites use "Create an account". ## What is the new behavior? Aligns remaining Studio surfaces with **Sign in / Sign out / Sign up**. Related to [#49874](https://github.com/supabase/supabase/pull/49874) and [#49877](https://github.com/supabase/supabase/pull/49877). CLI copy in `GeneratingTypes.tsx` is unchanged (`supabase login`). ## To test - Account → change email (GitHub identity): instructions say **Sign out of** - `/forgot-password`: footer link says **Sign in** - Org invite (signed out): secondary button says **Sign up** - Project → API docs → User Management: section titles use **Sign in** / **Sign out** ## Summary by CodeRabbit * **Documentation** * Updated authentication terminology across user management guidance and GitHub email-change instructions for consistency. * **Improvements** * Changed the organization invitation link label to “Sign up.” * Standardized the forgot-password page link capitalization to “Sign in.” * **Tests** * Updated invitation view coverage to reflect the revised “Sign up” label. --- .../Preferences/ChangeEmailAddress.tsx | 8 ++--- .../interfaces/Docs/Pages/UserManagement.tsx | 34 +++++++++---------- .../OrganizationInvite.test.tsx | 2 +- .../OrganizationInvite/OrganizationInvite.tsx | 2 +- apps/studio/pages/forgot-password.tsx | 2 +- 5 files changed, 24 insertions(+), 24 deletions(-) diff --git a/apps/studio/components/interfaces/Account/Preferences/ChangeEmailAddress.tsx b/apps/studio/components/interfaces/Account/Preferences/ChangeEmailAddress.tsx index 6a9fe4cfd1a..fed4b6bdcd9 100644 --- a/apps/studio/components/interfaces/Account/Preferences/ChangeEmailAddress.tsx +++ b/apps/studio/components/interfaces/Account/Preferences/ChangeEmailAddress.tsx @@ -17,7 +17,7 @@ export const GitHubChangeEmailAddress = () => { Email addresses for GitHub identities should be updated through GitHub

    -
  1. Log out of Supabase
  2. +
  3. Sign out of Supabase
  4. Change your Primary Email in{' '} @@ -25,9 +25,9 @@ export const GitHubChangeEmailAddress = () => { {' '} (your primary email)
  5. -
  6. Log out of GitHub
  7. -
  8. Log back into GitHub (with the new, desired email set as primary)
  9. -
  10. Log back into Supabase
  11. +
  12. Sign out of GitHub
  13. +
  14. Sign back into GitHub (with the new, desired email set as primary)
  15. +
  16. Sign back into Supabase
) diff --git a/apps/studio/components/interfaces/Docs/Pages/UserManagement.tsx b/apps/studio/components/interfaces/Docs/Pages/UserManagement.tsx index 7963ee78f41..850b6348707 100644 --- a/apps/studio/components/interfaces/Docs/Pages/UserManagement.tsx +++ b/apps/studio/components/interfaces/Docs/Pages/UserManagement.tsx @@ -42,8 +42,8 @@ export const UserManagement = ({ selectedLang, showApiKey }: UserManagementProps the user using a user_id field.

- Supabase already has built in the routes to sign up, login, and log out for managing - users in your apps and websites. + Supabase already has built in the routes to sign up, sign in, and sign out for + managing users in your apps and websites.

} @@ -69,12 +69,12 @@ export const UserManagement = ({ selectedLang, showApiKey }: UserManagementProps /> -

If an account is created, users can login to your app.

+

If an account is created, users can sign in to your app.

- After they have logged in, all interactions using the Supabase JS client will be + After they have signed in, all interactions using the Supabase JS client will be performed as "that user".

@@ -107,7 +107,7 @@ export const UserManagement = ({ selectedLang, showApiKey }: UserManagementProps />

@@ -133,7 +133,7 @@ export const UserManagement = ({ selectedLang, showApiKey }: UserManagementProps />

@@ -142,7 +142,7 @@ export const UserManagement = ({ selectedLang, showApiKey }: UserManagementProps

You must enter your own twilio credentials on the auth settings page to enable - SMS-based Logins. + SMS-based sign-in.

} @@ -178,12 +178,12 @@ export const UserManagement = ({ selectedLang, showApiKey }: UserManagementProps {authenticationSignInProviders && (

- Users can log in with Third Party OAuth like Google, Facebook, GitHub, and more. You - must first enable each of these in the Auth Providers settings{' '} + Users can sign in with third-party OAuth like Google, Facebook, GitHub, and more. + You must first enable each of these in the Auth Providers settings{' '} here @@ -198,7 +198,7 @@ export const UserManagement = ({ selectedLang, showApiKey }: UserManagementProps

- After they have logged in, all interactions using the Supabase JS client will be + After they have signed in, all interactions using the Supabase JS client will be performed as "that user".

@@ -229,7 +229,7 @@ export const UserManagement = ({ selectedLang, showApiKey }: UserManagementProps Get the JSON object for the logged in user.

} + content={

Get the JSON object for the signed-in user.

} snippets={ - Sends the user a log in link via email. Once logged in you should direct the user to a + Sends the user a sign-in link via email. Once signed in you should direct the user to a new password form. And use "Update User" below to save the new password.

} @@ -271,10 +271,10 @@ export const UserManagement = ({ selectedLang, showApiKey }: UserManagementProps /> - After calling log out, all interactions using the Supabase JS client will be + After calling sign out, all interactions using the Supabase JS client will be "anonymous".

} @@ -290,7 +290,7 @@ export const UserManagement = ({ selectedLang, showApiKey }: UserManagementProps title="Send a User an Invite over Email" content={ <> -

Send a user a passwordless link which they can use to sign up and log in.

+

Send a user a passwordless link which they can use to sign up and sign in.

After they have clicked the link, all interactions using the Supabase JS client will be performed as "that user". diff --git a/apps/studio/components/interfaces/OrganizationInvite/OrganizationInvite.test.tsx b/apps/studio/components/interfaces/OrganizationInvite/OrganizationInvite.test.tsx index f6f4201b7cc..a76d7420e1f 100644 --- a/apps/studio/components/interfaces/OrganizationInvite/OrganizationInvite.test.tsx +++ b/apps/studio/components/interfaces/OrganizationInvite/OrganizationInvite.test.tsx @@ -140,7 +140,7 @@ describe('OrganizationInvite', () => { 'href', '/sign-in?returnTo=%2Fjoin%3Ftoken%3Dinvite-token%26slug%3Dacme-corp' ) - expect(screen.getByRole('link', { name: 'Create an account' })).toHaveAttribute( + expect(screen.getByRole('link', { name: 'Sign up' })).toHaveAttribute( 'href', '/sign-up?returnTo=%2Fjoin%3Ftoken%3Dinvite-token%26slug%3Dacme-corp' ) diff --git a/apps/studio/components/interfaces/OrganizationInvite/OrganizationInvite.tsx b/apps/studio/components/interfaces/OrganizationInvite/OrganizationInvite.tsx index a5a92456a55..e6913c05820 100644 --- a/apps/studio/components/interfaces/OrganizationInvite/OrganizationInvite.tsx +++ b/apps/studio/components/interfaces/OrganizationInvite/OrganizationInvite.tsx @@ -117,7 +117,7 @@ export const OrganizationInvite = () => { {isSignUpEnabled && ( )} diff --git a/apps/studio/pages/forgot-password.tsx b/apps/studio/pages/forgot-password.tsx index 69e4ad4728d..118d79d4e0c 100644 --- a/apps/studio/pages/forgot-password.tsx +++ b/apps/studio/pages/forgot-password.tsx @@ -14,7 +14,7 @@ const ForgotPasswordPage: NextPageWithLayout = () => {

Already have an account?{' '} - Sign In + Sign in