diff --git a/docs/_partials/nextjs/next-steps.mdx b/docs/_partials/nextjs/next-steps.mdx index 47942c905f..a3fee2b937 100644 --- a/docs/_partials/nextjs/next-steps.mdx +++ b/docs/_partials/nextjs/next-steps.mdx @@ -14,7 +14,7 @@ --- - - [Read user and session data](/docs/nextjs/guides/users/reading) + - [Protect content and read user data](/docs/nextjs/guides/users/reading) - Learn how to use Clerk's hooks and helpers to access the session and user data in your Next.js app. --- diff --git a/docs/getting-started/quickstart.astro.mdx b/docs/getting-started/quickstart.astro.mdx index 88b0780722..a4305d296d 100644 --- a/docs/getting-started/quickstart.astro.mdx +++ b/docs/getting-started/quickstart.astro.mdx @@ -200,8 +200,8 @@ sdk: astro --- - - [Read session and user data](/docs/astro/guides/users/reading) - - Learn how to use Clerk's stores and helpers to access the session and user data in your Astro app. + - [Protect content and read user data](/docs/astro/guides/users/reading) + - Learn how to use Clerk's stores and helpers to protect content and read user data in your Astro app. --- diff --git a/docs/getting-started/quickstart.expo.mdx b/docs/getting-started/quickstart.expo.mdx index b227e01cfa..147d0a48f0 100644 --- a/docs/getting-started/quickstart.expo.mdx +++ b/docs/getting-started/quickstart.expo.mdx @@ -461,8 +461,8 @@ See the [`expo-updates`](https://docs.expo.dev/versions/latest/sdk/updates) libr --- - - [Read session and user data](/docs/expo/guides/users/reading) - - Learn how to read session and user data with Expo. + - [Protect content and read user data](/docs/expo/guides/users/reading) + - Learn how to use Clerk's hooks and helpers to protect content and read user data in your Expo app. --- diff --git a/docs/getting-started/quickstart.nuxt.mdx b/docs/getting-started/quickstart.nuxt.mdx index a2e844834c..ef6ea468bc 100644 --- a/docs/getting-started/quickstart.nuxt.mdx +++ b/docs/getting-started/quickstart.nuxt.mdx @@ -148,7 +148,7 @@ Learn more about Clerk components, how to customize them, and how to use Clerk's --- - - [Read session and user data](/docs/nuxt/guides/users/reading) + - [Protect content and read user data](/docs/nuxt/guides/users/reading) - Learn how to use Clerk's composables and helpers to access the session and user data in your Nuxt app. --- diff --git a/docs/getting-started/quickstart.react-router.mdx b/docs/getting-started/quickstart.react-router.mdx index 0a1b9a6c30..ac08947820 100644 --- a/docs/getting-started/quickstart.react-router.mdx +++ b/docs/getting-started/quickstart.react-router.mdx @@ -228,8 +228,8 @@ This tutorial assumes that you're using React Router **v7.1.2 or later** in fram --- - - [Read session and user data](/docs/react-router/guides/users/reading) - - Learn how to use Clerk's hooks and helpers to access the session and user data in your React Router app. + - [Protect content and read user data](/docs/react-router/guides/users/reading) + - Learn how to use Clerk's hooks and helpers to protect content and read user data in your React Router app. --- diff --git a/docs/getting-started/quickstart.remix.mdx b/docs/getting-started/quickstart.remix.mdx index 3495fdc91b..4d92ad6c45 100644 --- a/docs/getting-started/quickstart.remix.mdx +++ b/docs/getting-started/quickstart.remix.mdx @@ -274,7 +274,7 @@ Learn how to use Clerk to quickly and easily add secure authentication and user --- - - [Read user and session data](/docs/remix/guides/users/reading) + - [Protect content and read user data](/docs/remix/guides/users/reading) - Learn how to use Clerk's hooks and helpers to access the session and user data in your Remix app. --- diff --git a/docs/getting-started/quickstart.tanstack-react-start.mdx b/docs/getting-started/quickstart.tanstack-react-start.mdx index 719176c9f0..7de291ed6a 100644 --- a/docs/getting-started/quickstart.tanstack-react-start.mdx +++ b/docs/getting-started/quickstart.tanstack-react-start.mdx @@ -251,7 +251,7 @@ sdk: tanstack-react-start --- - - [Read user and session data](/docs/tanstack-react-start/guides/users/reading) + - [Protect content and read user data](/docs/tanstack-react-start/guides/users/reading) - Learn how to use Clerk's hooks and helpers to access the session and user data in your TanStack React Start app. --- diff --git a/docs/guides/development/custom-sign-in-or-up-page.mdx b/docs/guides/development/custom-sign-in-or-up-page.mdx index be276a8619..eab4878e7a 100644 --- a/docs/guides/development/custom-sign-in-or-up-page.mdx +++ b/docs/guides/development/custom-sign-in-or-up-page.mdx @@ -102,7 +102,7 @@ To set up separate sign-in and sign-up pages, follow this guide, and then follow --- - - [Read user and session data](/docs/nextjs/guides/users/reading) + - [Protect content and read user data](/docs/nextjs/guides/users/reading) - Learn how to use Clerk's hooks and helpers to access the session and user data in your Next.js application. --- diff --git a/docs/guides/development/custom-sign-in-or-up-page.remix.mdx b/docs/guides/development/custom-sign-in-or-up-page.remix.mdx index 9b4de87f3d..605c9f21d6 100644 --- a/docs/guides/development/custom-sign-in-or-up-page.remix.mdx +++ b/docs/guides/development/custom-sign-in-or-up-page.remix.mdx @@ -94,6 +94,6 @@ To set up separate sign-in and sign-up pages, follow this guide, and then follow --- - - [Read user and session data](/docs/remix/guides/users/reading) + - [Protect content and read user data](/docs/remix/guides/users/reading) - Learn how to use Clerk's hooks and helpers to access the session and user data in your Remix application. diff --git a/docs/guides/development/custom-sign-in-or-up-page.tanstack-react-start.mdx b/docs/guides/development/custom-sign-in-or-up-page.tanstack-react-start.mdx index 92d405d23e..4d7bee71c1 100644 --- a/docs/guides/development/custom-sign-in-or-up-page.tanstack-react-start.mdx +++ b/docs/guides/development/custom-sign-in-or-up-page.tanstack-react-start.mdx @@ -72,6 +72,6 @@ To set up separate sign-in and sign-up pages, follow this guide, and then follow --- - - [Read user and session data](/docs/tanstack-react-start/guides/users/reading) + - [Protect content and read user data](/docs/tanstack-react-start/guides/users/reading) - Learn how to use Clerk's hooks and helpers to access the session and user data in your TanStack React Start application. diff --git a/docs/guides/development/custom-sign-up-page.mdx b/docs/guides/development/custom-sign-up-page.mdx index f8c3485055..dda68b2d70 100644 --- a/docs/guides/development/custom-sign-up-page.mdx +++ b/docs/guides/development/custom-sign-up-page.mdx @@ -100,7 +100,7 @@ To set up a single sign-in-or-up page, follow the [custom sign-in-or-up page gui ## Next steps - - [Read user and session data](/docs/nextjs/guides/users/reading) + - [Protect content and read user data](/docs/nextjs/guides/users/reading) - Learn how to use Clerk's hooks and helpers to access the session and user data in your Next.js application. --- diff --git a/docs/guides/development/custom-sign-up-page.remix.mdx b/docs/guides/development/custom-sign-up-page.remix.mdx index 750d44915d..42f1fdc8bd 100644 --- a/docs/guides/development/custom-sign-up-page.remix.mdx +++ b/docs/guides/development/custom-sign-up-page.remix.mdx @@ -89,6 +89,6 @@ To set up a single sign-in-or-up page, follow the [custom sign-in-or-up page gui ## Next steps - - [Read user and session data](/docs/remix/guides/users/reading) + - [Protect content and read user data](/docs/remix/guides/users/reading) - Learn how to use Clerk's hooks and helpers to access the session and user data in your Remix application. diff --git a/docs/guides/development/custom-sign-up-page.tanstack-react-start.mdx b/docs/guides/development/custom-sign-up-page.tanstack-react-start.mdx index 8895de6d33..38cb198d82 100644 --- a/docs/guides/development/custom-sign-up-page.tanstack-react-start.mdx +++ b/docs/guides/development/custom-sign-up-page.tanstack-react-start.mdx @@ -67,6 +67,6 @@ To set up a single sign-in-or-up page, follow the [custom sign-in-or-up page gui ## Next steps - - [Read user and session data](/docs/tanstack-react-start/guides/users/reading) + - [Protect content and read user data](/docs/tanstack-react-start/guides/users/reading) - Learn how to use Clerk's hooks and helpers to access the session and user data in your TanStack React Start application. diff --git a/docs/guides/development/declarative-mode.mdx b/docs/guides/development/declarative-mode.mdx index a2de86bdad..420cb3962b 100644 --- a/docs/guides/development/declarative-mode.mdx +++ b/docs/guides/development/declarative-mode.mdx @@ -125,3 +125,10 @@ This guide will cover how to add React Router in **declarative mode**, assuming ) ``` + +## Next steps + + + - [Protect content and read user data](/docs/react-router/guides/users/reading) + - Learn how to use Clerk's hooks and helpers to protect content and read user data in your React Router application. + diff --git a/docs/guides/users/reading.astro.mdx b/docs/guides/users/reading.astro.mdx index e964b6efb6..d9eedad54b 100644 --- a/docs/guides/users/reading.astro.mdx +++ b/docs/guides/users/reading.astro.mdx @@ -1,10 +1,12 @@ --- -title: Protect content and access user data -description: Learn how to use Clerk's helpers to protect content and access user data in your Astro application. +title: Protect content and read user data +description: Learn how to use Clerk's helpers to protect content and read user data in your Astro application. +metadata: + title: Read session and user data in your app with Clerk. sdk: astro --- -Clerk provides helpers that you can use to protect content and access user data in your Astro application. +Clerk provides helpers that you can use to protect content and read user data in your Astro application. ## Server-side diff --git a/docs/guides/users/reading.expo.mdx b/docs/guides/users/reading.expo.mdx index 2ee96e0f80..e02758e078 100644 --- a/docs/guides/users/reading.expo.mdx +++ b/docs/guides/users/reading.expo.mdx @@ -1,12 +1,14 @@ --- -title: Protect content and access user data -description: Learn how to use Clerk's hooks to protect content and access user data in your Expo application. +title: Protect content and read user data +description: Learn how to use Clerk's hooks to protect content and read user data in your Expo application. +metadata: + title: Read session and user data in your app with Clerk. sdk: expo --- -This guide demonstrates how to use the `useAuth()` and `useUser()` hooks to protect content and access user data in your Expo application. +This guide demonstrates how to use the `useAuth()` and `useUser()` hooks to protect content and read user data in your Expo application. ## Session data example diff --git a/docs/guides/users/reading.mdx b/docs/guides/users/reading.mdx index 445e9bb02b..7f2000ad76 100644 --- a/docs/guides/users/reading.mdx +++ b/docs/guides/users/reading.mdx @@ -1,10 +1,12 @@ --- -title: Read session and user data in your Next.js app with Clerk -description: Learn how to use Clerk's hooks and helpers to access the active session and user data in your Next.js application. +title: Protect content and read user data +description: Learn how to use Clerk's hooks and helpers to protect content and read user data in your Next.js application. +metadata: + title: Read session and user data in your app with Clerk. sdk: nextjs --- -Clerk provides a set of [hooks and helpers](/docs/reference/nextjs/overview#client-side-helpers) that you can use to access the active session and user data in your Next.js application. Here are examples of how to use these helpers in both the client and server-side to get you started. +Clerk provides a set of [hooks and helpers](/docs/reference/nextjs/overview#client-side-helpers) that you can use to protect content and read user data in your Next.js application. Here are examples of how to use these helpers in both the client and server-side to get you started. ## Server-side diff --git a/docs/guides/users/reading.nuxt.mdx b/docs/guides/users/reading.nuxt.mdx index 27519f3288..faecdb5425 100644 --- a/docs/guides/users/reading.nuxt.mdx +++ b/docs/guides/users/reading.nuxt.mdx @@ -1,10 +1,12 @@ --- -title: Read session and user data in your Nuxt app with Clerk -description: Learn how to use Clerk's composables to access the session and user data in your Nuxt application. +title: Protect content and read user data +description: Learn how to use Clerk's composables to protect content and read user data in your Nuxt application. +metadata: + title: Read session and user data in your app with Clerk. sdk: nuxt --- -Clerk provides [composables](/docs/reference/nuxt/overview#client-side-helpers) to access the session and user data in your Nuxt application. +Clerk provides [composables](/docs/reference/nuxt/overview#client-side-helpers) to protect content and read user data in your Nuxt application. ## Client-side diff --git a/docs/guides/users/reading.react-router.mdx b/docs/guides/users/reading.react-router.mdx index 06289fae50..66b7f2b0ab 100644 --- a/docs/guides/users/reading.react-router.mdx +++ b/docs/guides/users/reading.react-router.mdx @@ -1,10 +1,12 @@ --- -title: Protect content and access user data -description: Learn how to use Clerk's hooks and helpers to protect content and access user data in your React Router application. +title: Protect content and read user data +description: Learn how to use Clerk's hooks and helpers to protect content and read user data in your React Router application. +metadata: + title: Read session and user data in your app with Clerk. sdk: react-router --- -Clerk provides a set of [hooks and helpers](/docs/reference/react-router/overview#client-side-helpers) that you can use to access the session and user data in your React Router application. This guide demonstrates how to use these helpers in both the client and server-side to get you started. +Clerk provides a set of [hooks and helpers](/docs/reference/react-router/overview#client-side-helpers) that you can use to protect content and read user data in your React Router application. This guide demonstrates how to use these helpers in both the client and server-side to get you started. ## Server-side diff --git a/docs/guides/users/reading.remix.mdx b/docs/guides/users/reading.remix.mdx index 70aeb974ab..b80bfacce5 100644 --- a/docs/guides/users/reading.remix.mdx +++ b/docs/guides/users/reading.remix.mdx @@ -1,12 +1,14 @@ --- -title: Read session and user data in your Remix app with Clerk -description: Learn how to use Clerk's hooks and helpers to access the session and user data in your Remix application. +title: Protect content and read user data +description: Learn how to use Clerk's hooks and helpers to protect content and read user data in your Remix application. +metadata: + title: Read session and user data in your app with Clerk. sdk: remix --- -Clerk provides a set of [hooks and helpers](/docs/reference/remix/overview) that you can use to access the session and user data in your Remix application. Here are examples of how to use these helpers in both the client and server-side to get you started. +Clerk provides a set of [hooks and helpers](/docs/reference/remix/overview) that you can use to protect content and read user data in your Remix application. Here are examples of how to use these helpers in both the client and server-side to get you started. ## Server-side diff --git a/docs/guides/users/reading.tanstack-react-start.mdx b/docs/guides/users/reading.tanstack-react-start.mdx index c7267e0375..0f68c260df 100644 --- a/docs/guides/users/reading.tanstack-react-start.mdx +++ b/docs/guides/users/reading.tanstack-react-start.mdx @@ -1,10 +1,12 @@ --- -title: Read session and user data in your TanStack React Start app with Clerk -description: Learn how to use Clerk's hooks and helpers to access the session and user data in your TanStack React Start application. +title: Protect content and read user data +description: Learn how to use Clerk's hooks and helpers to protect content and read user data in your TanStack React Start application. +metadata: + title: Read session and user data in your app with Clerk. sdk: tanstack-react-start --- -Clerk provides a set of [hooks and helpers](/docs/reference/tanstack-react-start/overview#client-side-helpers) that you can use to access the session and user data in your TanStack React Start application. Here are examples of how to use these helpers in both the client and server-side to get you started. +Clerk provides a set of [hooks and helpers](/docs/reference/tanstack-react-start/overview#client-side-helpers) that you can use to protect content and read user data in your TanStack React Start application. Here are examples of how to use these helpers in both the client and server-side to get you started. ## Server-side diff --git a/docs/manifest.json b/docs/manifest.json index dce06c2c30..4a991276ee 100644 --- a/docs/manifest.json +++ b/docs/manifest.json @@ -72,7 +72,7 @@ "href": "/docs/reference/astro/react" }, { - "title": "Protect content and access user data", + "title": "Protect content and read user data", "href": "/docs/guides/users/reading" }, { @@ -336,7 +336,7 @@ "href": "/docs/guides/users/managing" }, { - "title": "Reading Clerk data", + "title": "Protect content and read user data", "href": "/docs/guides/users/reading" }, { diff --git a/docs/reference/astro/react.mdx b/docs/reference/astro/react.mdx index ab1adb55c5..3c149506e3 100644 --- a/docs/reference/astro/react.mdx +++ b/docs/reference/astro/react.mdx @@ -127,7 +127,7 @@ If you have not set up your Astro application to work with Clerk, see the [quick ## Next steps - - [Read user and session data](/docs/astro/guides/users/reading) + - [Protect content and read user data](/docs/astro/guides/users/reading) - Learn how to use Clerk's hooks and helpers to access the session and user data in your Astro application. ---