From 3b9e96e4600eb82f1ad520e3aa7bcf73f55a7b6f Mon Sep 17 00:00:00 2001 From: Stan Wohlwend Date: Fri, 19 Apr 2024 18:52:01 +0200 Subject: [PATCH] UX improvements --- .../projects/[projectId]/auth/providers/page-client.tsx | 2 +- .../[projectId]/auth/urls-and-callbacks/page-client.tsx | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/packages/stack-server/src/app/(main)/(protected)/projects/[projectId]/auth/providers/page-client.tsx b/packages/stack-server/src/app/(main)/(protected)/projects/[projectId]/auth/providers/page-client.tsx index fd2eb49b9..53e1f51d5 100644 --- a/packages/stack-server/src/app/(main)/(protected)/projects/[projectId]/auth/providers/page-client.tsx +++ b/packages/stack-server/src/app/(main)/(protected)/projects/[projectId]/auth/providers/page-client.tsx @@ -73,7 +73,7 @@ export default function ProvidersClient() { - In order to add a new provider, you can choose to use shared credentials created by us, or create your own OAuth client on the provider's website. Pick an OAuth-compatible service from the list below to get started. + In order to add a new provider, you can choose to use shared credentials created by us, or create your own OAuth client on the provider's website. diff --git a/packages/stack-server/src/app/(main)/(protected)/projects/[projectId]/auth/urls-and-callbacks/page-client.tsx b/packages/stack-server/src/app/(main)/(protected)/projects/[projectId]/auth/urls-and-callbacks/page-client.tsx index 1c87d0244..ef5ceae77 100644 --- a/packages/stack-server/src/app/(main)/(protected)/projects/[projectId]/auth/urls-and-callbacks/page-client.tsx +++ b/packages/stack-server/src/app/(main)/(protected)/projects/[projectId]/auth/urls-and-callbacks/page-client.tsx @@ -156,6 +156,10 @@ export default function UrlsAndCallbacksClient() { return ( <> + + List the paths to the handlers that will receive callbacks from your project. Note, if a third-party gains control of your handler, they can potentially access your user data. + + + {domains.size === 0 && ( + + No handlers added yet. Click the button below to add your first + + )} {[...domains].map(({ domain, handlerPath }, i) => ( {i !== 0 && }