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, `
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'