diff --git a/README.md b/README.md index 9fb80542f98..771ed9821a6 100644 --- a/README.md +++ b/README.md @@ -111,4 +111,9 @@ Open the login application with your favorite browser at `localhost:3000`. ### Deploy to Vercel +To deploy your own version on Vercel, navigate to your instance and create a service user. +Copy its id from the overview and set it as ZITADEL_SERVICE_USER_ID. +Then create a personal access token (PAT), copy and set it as ZITADEL_SERVICE_USER_TOKEN, then navigate to your instance settings and make sure it gets IAM_OWNER permissions. +Finally set your instance url as ZITADEL_API_URL. Make sure to set it without trailing slash. + [![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fzitadel%2Ftypescript&env=ZITADEL_API_URL,ZITADEL_SERVICE_USER_ID,ZITADEL_SERVICE_USER_TOKEN&envDescription=Setup%20a%20service%20account%20with%20IAM_OWNER%20membership%20on%20your%20instance%20and%20provide%20its%20id%20and%20personal%20access%20token.&project-name=zitadel-login&repository-name=zitadel-login) diff --git a/apps/login/app/page.tsx b/apps/login/app/page.tsx index d5a4f10f13e..8d6bc2f4969 100644 --- a/apps/login/app/page.tsx +++ b/apps/login/app/page.tsx @@ -36,6 +36,15 @@ export default function Page() { ); })} + +
+
+ Deploy your own on Vercel +
+ + Deploy with Vercel + +
); } diff --git a/apps/login/lib/demos.ts b/apps/login/lib/demos.ts index 1d1c2a8a0ba..fa0742a46e4 100644 --- a/apps/login/lib/demos.ts +++ b/apps/login/lib/demos.ts @@ -23,11 +23,6 @@ export const demos: { name: string; items: Item[] }[] = [ slug: "accounts", description: "List active and inactive sessions", }, - { - name: "Passkey Registration", - slug: "passkey/add", - description: "The page to add a users passkey device", - }, ], }, {