Skip to content

Commit

Permalink
Add sso configs to readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbouder committed Aug 2, 2024
1 parent d96e3d1 commit a522c5a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a522c5a

Please sign in to comment.