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

Add some sane defaults for Bitbucket #19

Merged
merged 1 commit into from
Mar 28, 2018
Merged
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
11 changes: 8 additions & 3 deletions bldr.env.sample
Original file line number Diff line number Diff line change
@@ -1,23 +1,28 @@
#!/bin/bash

# Modify these as needed for the on-premise OAuth2 provider
# The OAuth2 URLs below are configured as an example of using
# the GitHub cloud service as a provider.
# Modify these as needed for the on-premise OAuth2 provider.
# The variables below are configured for GitHub by default,
# but appropriate values for bitbucket are also included as
# comments.

# The URL for this instance of the on-prem depot
export APP_URL=http://localhost

# The OAUTH_PROVIDER value can be either "github" or "bitbucket"
export OAUTH_PROVIDER=github
# export OAUTH_PROVIDER=bitbucket

# The OAUTH_API_URL is the API endpoint that will be used for user info
export OAUTH_API_URL=https://api.github.com
# export OAUTH_API_URL=https://api.bitbucket.org

# The OAUTH_AUTHORIZE_URL is the *fully qualified* OAuth2 authorization endpoint
export OAUTH_AUTHORIZE_URL=https://github.com/login/oauth/authorize
# export OAUTH_AUTHORIZE_URL=https://bitbucket.org/site/oauth2/authorize

# THe OAUTH_TOKEN_URL is the *fully qualified* OAuth2 token endpoint
export OAUTH_TOKEN_URL=https://github.com/login/oauth/access_token
# export OAUTH_TOKEN_URL=https://bitbucket.org/site/oauth2/access_token

# The OAUTH_REDIRECT_URL is the registered OAuth2 redirect
export OAUTH_REDIRECT_URL=http://localhost/
Expand Down