From 3732b9c5a74dc11d03b2c2d0477f0c1a0532c273 Mon Sep 17 00:00:00 2001 From: Luke Edwards Date: Tue, 30 Apr 2019 08:06:14 -0700 Subject: [PATCH] fix: upload OAuth popup message --- site/src/backend/auth.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/site/src/backend/auth.js b/site/src/backend/auth.js index 328b457be7..7792f4ee37 100644 --- a/site/src/backend/auth.js +++ b/site/src/backend/auth.js @@ -135,9 +135,10 @@ export function API() { send(res, 500, `

Missing .env file

-

In order to use GitHub authentication, you will need to register an OAuth application with gist and read:user scopes, and create a .env file:

+

In order to use GitHub authentication, you will need to register an OAuth application and create a local .env file:

GITHUB_CLIENT_ID=[YOUR_APP_ID]\nGITHUB_CLIENT_SECRET=[YOUR_APP_SECRET]\nBASEURL=http://localhost:3000

The BASEURL variable should match the callback URL specified for your app.

+

See also here

`, { 'Content-Type': 'text/html; charset=utf-8'