07bbd3a47b5b779ec9a3b9ec0406ef7999c69146,quilt_server/dev_config.py,,,#,8
Before Change
AUTH_PROVIDER = os.getenv("AUTH_PROVIDER", "quilt")
if AUTH_PROVIDER == "quilt":
OAUTH = dict(
access_token_url="https://quilt-heroku.herokuapp.com/o/token/",
authorize_url="https://quilt-heroku.herokuapp.com/o/authorize/",
client_id="chrOhbIPVtJAey7LcT1ez7PnIaV9tFLqNYXapcG3",
user_api="https://quilt-heroku.herokuapp.com/api-root",
profile_api="https://quilt-heroku.herokuapp.com/profiles/%s/", // Trailing slash
have_refresh_token=True,
)
elif AUTH_PROVIDER == "github":
OAUTH = dict(
access_token_url="https://github.com/login/oauth/access_token",
authorize_url="https://github.com/login/oauth/authorize",
client_id="d246dca7c81ef4272f9e",
user_api="https://api.github.com/user",
profile_api="https://api.github.com/users/%s", // NO trailing slash
have_refresh_token=False,
)
else:
assert False, "Unknown auth provider: %s" % AUTH_PROVIDER
OAUTH.update(dict(
client_secret=os.getenv("OAUTH_CLIENT_SECRET"),
redirect_url="http://localhost:5000/oauth_callback",
))
INVITE_SEND_URL = "https://quilt-heroku.herokuapp.com/pkginvite/send/" // XXX
AWS_ACCESS_KEY_ID = "fake_id"
After Change
access_token_url="https://github.com/login/oauth/access_token",
authorize_url="https://github.com/login/oauth/authorize",
client_id="d246dca7c81ef4272f9e",
client_secret=os.getenv("OAUTH_CLIENT_SECRET_GITHUB", os.getenv("OAUTH_CLIENT_SECRET")),
user_api="https://api.github.com/user",
profile_api="https://api.github.com/users/%s", // NO trailing slash
have_refresh_token=False,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: quiltdata/quilt
Commit Name: 07bbd3a47b5b779ec9a3b9ec0406ef7999c69146
Time: 2017-10-03
Author: dima@gmail.com
File Name: quilt_server/dev_config.py
Class Name:
Method Name:
Project Name: quiltdata/quilt
Commit Name: 40e83d1c3dfeadca5116d29b4eb33682a2293d62
Time: 2018-07-18
Author: meffij@users.noreply.github.com
File Name: registry/quilt_server/docker_config.py
Class Name:
Method Name:
Project Name: quiltdata/quilt
Commit Name: 40e83d1c3dfeadca5116d29b4eb33682a2293d62
Time: 2018-07-18
Author: meffij@users.noreply.github.com
File Name: registry/quilt_server/dev_config.py
Class Name:
Method Name: