Skip to content

Commit

Permalink
Clarify path of the OAuth callback URL
Browse files Browse the repository at this point in the history
  • Loading branch information
antoineco committed Feb 14, 2021
1 parent 7afa96e commit 301c58a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,12 @@ $ make
$ go install ./cmd/...
```

The `wtfd` server uses GitHub for authentication so you'll need to [create a
new GitHub OAuth App](https://github.com/settings/applications/new).
The `wtfd` server uses GitHub for authentication so you'll need to [create a new
GitHub OAuth App](https://github.com/settings/applications/new). Set the value
of the authorization callback URL to `http://HOST[:PORT]/oauth/github/callback`,
where `HOST[:PORT]` is the host name or IP address at which clients can access
the `wtfd` server, with an optional port number (e.g. `localhost:3000` when
running locally).

Next, you'll need to setup a configuration file in `~/wtfd.conf`:

Expand Down

0 comments on commit 301c58a

Please sign in to comment.