mirror of
https://github.com/f-eld-ch/sitrep.git
synced 2026-07-16 16:47:05 +02:00
docs: align OAUTH2_PROXY naming and fix GettingStarted typos (#1643)
* Initial plan * Fix GettingStarted wording typos --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -8,7 +8,7 @@ A simple local development environment can be created using docker compose and t
|
||||
|
||||
2. Create a .env.local file setting these variables:
|
||||
|
||||
Oauth2_PROXY clients can be created using Auth0....
|
||||
OAUTH2_PROXY clients can be created using Auth0....
|
||||
|
||||
```
|
||||
OAUTH2_PROXY_CLIENT_ID=sitrep
|
||||
@@ -17,7 +17,7 @@ OAUTH2_PROXY_COOKIE_SECRET=kvicWov5Y_w10r2vmnxJTUTugMUtBp6_R4loxuANMtg= # genera
|
||||
HASURA_GRAPHQL_ADMIN_SECRET=388HMfQ00gEyg636O63S1jxRODTSoAiu_XHa0fXhtRo= # generate with: openssl rand -base64 32 | tr -- '+/' '-_'
|
||||
POSTGRES_PASSWORD=postgrespassword
|
||||
|
||||
OAUTH2_PROXY_REDIRECT_URL=http://localhost:3000/oauth2/callback # port for yarn dev server%
|
||||
OAUTH2_PROXY_REDIRECT_URL=http://localhost:3000/oauth2/callback # port for yarn dev server
|
||||
```
|
||||
|
||||
3. Run docker compose environment:
|
||||
@@ -38,7 +38,7 @@ docker compose -f docker-compose.selinux.yml --env-file .env.local up -d
|
||||
cd ui && yarn start
|
||||
```
|
||||
|
||||
5. Open [localhost:3000](http://localhost:3000/). This will automatically proxy to the OAUTH2 proxy which will then proxy requests towards the graphql-engine with its /v1/graphql. Authentication will be handled by the local dex IDP with it's mock provider. Just click on **Log in with Example**.
|
||||
5. Open [localhost:3000](http://localhost:3000/). This will automatically proxy to the OAUTH2 proxy which will then proxy requests towards the graphql-engine with its /v1/graphql. Authentication will be handled by the local dex IDP with its mock provider. Just click on **Log in with Example**.
|
||||
|
||||
|
||||
6. Start go backend server
|
||||
Reference in New Issue
Block a user