From 301c58afb2b39889665d078edbeb3d8cd5593983 Mon Sep 17 00:00:00 2001 From: Antoine Cotten Date: Sun, 14 Feb 2021 15:11:01 +0100 Subject: [PATCH] Clarify path of the OAuth callback URL --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fe97593..b293a0e 100644 --- a/README.md +++ b/README.md @@ -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`: