From 4cb9f6621f8dada0e2c5588da68215dfbd1b5600 Mon Sep 17 00:00:00 2001 From: Tomasz Pluskiewicz Date: Fri, 9 Feb 2024 12:17:00 +0100 Subject: [PATCH] docs: mention dev env auth backdoor --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index c62955935..03af437d8 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,16 @@ AUTH_RUNNER_CLIENT_SECRET=foo-bar It is obtained from [keycloak](https://keycloak.zazukoians.org/admin/master/console/#/zazuko-dev/clients/64f92868-71e3-48e1-9d8b-7bfaf5fac2bd/credentials) +Alternatively, you can bypass authentication altogether by setting the environment variables in `.env` similar to the following example: + +```dotenv +VUE_APP_E2E=true +VUE_APP_X_USER=john-doe +VUE_APP_X_PERMISSION=pipelines:read,pipelines:write +``` + +If you have already started the application, make sure to run `lando rebuild -y` to apply the changes. + ### Starting The easiest way it to start a local dockerized environment which will run the database, API and UI, and provide set up local HTTPS endpoints for them.