Skip to content

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

docs: Make it clearer that getting your app approved by Google is all you need to make your Google auth consent screen look better (#40238)

Tyler654a4b1b7ae3
diff --git a/apps/docs/content/guides/auth/social-login/auth-google.mdx b/apps/docs/content/guides/auth/social-login/auth-google.mdx
index fea520c5c2d..332f0cebf2a 100644
--- a/apps/docs/content/guides/auth/social-login/auth-google.mdx
+++ b/apps/docs/content/guides/auth/social-login/auth-google.mdx
@@ -39,12 +39,12 @@ It's strongly recommended you set up a custom domain and optionally verify your
</Admonition>
-Google's consent screen is shown to users when they sign in. Optionally configure the following to improve the appearance of the screen, increasing the perception of trust by your users:
+Google's consent screen is shown to users when they sign in. Optionally configure one of the following to improve the appearance of the screen, increasing the perception of trust by your users:
+1. Verify your application's brand (logo and name) by configuring it in the [Branding](https://console.cloud.google.com/auth/branding) section of the Google Auth Platform console. Brand verification is not automatic and may take a few business days.
1. Set up a [custom domain for your project](/docs/guides/platform/custom-domains) to present the user with a clear relationship to the website they clicked Sign in with Google on.
- A good approach is to use `auth.example.com` or `api.example.com`, if your application is hosted on `example.com`.
- If you don't set this up, users will see `<project-id>.supabase.co` which does not inspire trust and can make your application more susceptible to successful phishing attempts.
-1. Verify your application's brand (logo and name) by configuring it in the [Branding](https://console.cloud.google.com/auth/branding) section of the Google Auth Platform console. Brand verification is not automatic and may take a few business days.
## Project setup
diff --git a/packages/common/telemetry.tsx b/packages/common/telemetry.tsx
index c4f8c4fc17c..58290d6cbee 100644
--- a/packages/common/telemetry.tsx
+++ b/packages/common/telemetry.tsx
@@ -243,7 +243,11 @@ export const PageTelemetry = ({
if (router !== null) return
// Only track if pathname actually changed (not initial mount)
- if (appPathname && previousAppPathnameRef.current !== null && previousAppPathnameRef.current !== appPathname) {
+ if (
+ appPathname &&
+ previousAppPathnameRef.current !== null &&
+ previousAppPathnameRef.current !== appPathname
+ ) {
sendPageTelemetry()
}