Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds exports for oauth signup URL. #1122

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .secrets/habitat-env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -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"
1 change: 1 addition & 0 deletions .studiorc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions components/builder-api/habitat/default.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ""
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't think we need this

client_id = ""
client_secret = ""

Expand Down
1 change: 1 addition & 0 deletions support/builder/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down