From 6f070c4f098b83906ef2b9d4a68f08b0ca9b4879 Mon Sep 17 00:00:00 2001 From: Max Peintner Date: Fri, 5 May 2023 17:25:46 +0200 Subject: [PATCH] readme --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index e4634eb58db..d1d751dfb79 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,17 @@ To run the application make sure to install the dependencies with pnpm install ``` +then setup the environment for the login application which needs a `.env.local` in `/apps/login`. +Go to your instance and create a service user for the application having the IAM_OWNER manager role. +This user is required to have access to create users on your primary organization and reading policy data so it can be restricted to your personal use case but we'll stick with IAM_OWNER for convenience. Create a PAT and copy the value to paste it under the `ZITADEL_SERVICE_USER_TOKEN` key. +The file should look as follows: + +``` +ZITADEL_API_URL=[yourinstanceurl] +ZITADEL_ORG_ID=[yourprimaryorg] +ZITADEL_SERVICE_USER_TOKEN=[yourserviceuserpersonalaccesstoken] +``` + then generate the GRPC stubs with ```sh