diff --git a/.secrets/habitat-env.sample b/.secrets/habitat-env.sample index a0d55867e7..cf5d6d04ac 100644 --- a/.secrets/habitat-env.sample +++ b/.secrets/habitat-env.sample @@ -8,6 +8,7 @@ OAUTH_TOKEN_URL="https://github.com/login/oauth/access_token" OAUTH_CLIENT_ID="Iv1.04b78696442708f6" OAUTH_CLIENT_SECRET="b4acf029896e9c7fb6613390124e8ae3c35889aa" OAUTH_REDIRECT_URL="http://localhost/" +OAUTH_SIGNUP_URL="https://github.com/join" GITHUB_API_URL="https://api.github.com" GITHUB_APP_ID=8053 GITHUB_APP_URL="https://github.com/apps/habitat-builder-dev-studio" diff --git a/.studiorc b/.studiorc index f055fc551b..07d8cd37d7 100755 --- a/.studiorc +++ b/.studiorc @@ -11,6 +11,7 @@ export OAUTH_TOKEN_URL export OAUTH_CLIENT_ID export OAUTH_CLIENT_SECRET export OAUTH_REDIRECT_URL +export OAUTH_SIGNUP_URL export GITHUB_API_URL export GITHUB_APP_ID export GITHUB_APP_URL diff --git a/components/builder-api/habitat/default.toml b/components/builder-api/habitat/default.toml index 3f72613675..96596dee40 100644 --- a/components/builder-api/habitat/default.toml +++ b/components/builder-api/habitat/default.toml @@ -15,6 +15,7 @@ provider = "github" token_url = "https://github.com/login/oauth/access_token" userinfo_url = "https://api.github.com/user" redirect_url = "" +signup_url = "" client_id = "" client_secret = "" diff --git a/support/builder/config.sh b/support/builder/config.sh index b1753a6e1c..160e4bd9db 100755 --- a/support/builder/config.sh +++ b/support/builder/config.sh @@ -69,6 +69,7 @@ provider = "$OAUTH_PROVIDER" client_id = "$OAUTH_CLIENT_ID" authorize_url = "$OAUTH_AUTHORIZE_URL" redirect_url = "$OAUTH_REDIRECT_URL" +signup_url = "$OAUTH_SIGNUP_URL" [nginx] max_body_size = "2048m"