Skip to content

Commit

Permalink
docs: Update QuickStart.md
Browse files Browse the repository at this point in the history
Add some documentation missing from the quickstart in how to actually login to the app.
  • Loading branch information
Tethik authored Nov 7, 2023
1 parent 1dca954 commit 4863dd9
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions QuickStart.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,20 @@ npm run build
npm run dev # note: you'll need to run build before every dev
```

## First Login
With the default configuration, Gram will be configured to use login via email.

For your first login, use the email address `admin@localhost`.

Since SMTP is not configured yet, you will need to get the actual link from your application logs:
```
[2023-11-07T14:29:12.229] [DEBUG] MagicLinkIdentityProvider - Sending magic link to <REDACTED> with link http://localhost:4726/login/callback/magic-link?token=<REDACTED>
```

For the default configuration, the login is limited to three hardcoded users: `user@localhost`, `reviewer@localhost` and `admin@localhost`.
You will need to change the configuration to change this.


## Modify the configuration

The `config/` package contains the configuration of your Gram application. This is where
Expand Down

0 comments on commit 4863dd9

Please sign in to comment.