From a522c5a0899f4c3ae5281301885beefb91050789 Mon Sep 17 00:00:00 2001 From: Johnny Bouder Date: Fri, 2 Aug 2024 11:01:56 -0400 Subject: [PATCH] Add sso configs to readme. --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b8a1891..20fe6fd 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,13 @@ The goal of this project is to provide a NextJS starter application, which comes npm install ``` -2. To start the app, run the following: +2. To run locally with SSO, add a file called `.env.local` to the `comet-starter-next` directory. Copy and paste the template below and replace the placeholder values with your own (optional): + +``` +KEYCLOAK_CLIENT_ID=[SOME_KEYCLOAK_CLIENT_ID] # Ex: dev-client +KEYCLOAK_CLIENT_SECRET=[SOME_KEYCLOAK_CLIENT_SECRET] # Ex: 123456789abcdefg +KEYCLOAK_ISSUER=[SOME_KEYCLOAK_ISSUER] # Ex: http://localhost:8088 +``` ```sh npm run dev