Merge pull request #83 from ZeusWPI/oauth-adams

Use adams for oauth
This commit is contained in:
Feliciaan De Palmenaer 2017-02-19 00:17:24 +01:00 committed by GitHub
commit a604628d83

View file

@ -15,10 +15,10 @@ zeus = oauth.remote_app(
consumer_key=app.config['ZEUS_KEY'], consumer_key=app.config['ZEUS_KEY'],
consumer_secret=app.config['ZEUS_SECRET'], consumer_secret=app.config['ZEUS_SECRET'],
request_token_params={}, request_token_params={},
base_url='https://kelder.zeus.ugent.be/oauth/api/', base_url='https://adams.ugent.be/oauth/api/',
access_token_method='POST', access_token_method='POST',
access_token_url='https://kelder.zeus.ugent.be/oauth/oauth2/token/', access_token_url='https://adams.ugent.be/oauth/oauth2/token/',
authorize_url='https://kelder.zeus.ugent.be/oauth/oauth2/authorize/' authorize_url='https://adams.ugent.be/oauth/oauth2/authorize/'
) )