Skip to content

Commit

Permalink
feat: oauth-based login (stackblitz#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrvidal authored Jul 29, 2024
1 parent a7029c8 commit bb73225
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ cd bolt
pnpm i
```

3. Optionally, init git hooks:

```bash
pnpmx husky
```

### Development

To start developing the Bolt UI:
Expand Down
7 changes: 3 additions & 4 deletions packages/bolt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,11 @@ Optionally, you an set the debug level:
VITE_LOG_LEVEL=debug
```

If you want to test the login locally you need to add the following variables:

If you want to run authentication against a local StackBlitz instance, add:
```
SESSION_SECRET=XXX
LOGIN_PASSWORD=XXX
VITE_CLIENT_ORIGIN=https://local.stackblitz.com:3000
```
`

**Important**: Never commit your `.env.local` file to version control. It's already included in .gitignore.

Expand Down

0 comments on commit bb73225

Please sign in to comment.