Skip to content

Commit

Permalink
Merge pull request #35 from antoineco/clarify-callback-path
Browse files Browse the repository at this point in the history
Clarify path of the OAuth callback URL
  • Loading branch information
benbjohnson authored Feb 15, 2021
2 parents be79ddb + 301c58a commit aab552f
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 @@ -121,8 +121,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 aab552f

Please sign in to comment.