diff -r 8bc8b208441d -r 4407b131a70e oauth/settings/client_settings.py.tmpl --- a/oauth/settings/client_settings.py.tmpl Wed Feb 17 16:14:04 2016 +0100 +++ b/oauth/settings/client_settings.py.tmpl Mon Feb 29 12:22:07 2016 +0100 @@ -1,15 +1,13 @@ class ClientSettings(object): - CLIENT_ID = '' - CLIENT_SECRET = '' - - # Oauth server config - BASE_URL = 'http://127.0.0.1:5000/api/' + # OAUTH SERVER CONFIG + BASE_URL = 'http://127.0.0.1:5000/rest/' REQUEST_TOKEN_URL = None - ACCESS_TOKEN_URL = 'http://127.0.0.1:5000/oauth/token' - AUTHORIZE_URL = 'http://127.0.0.1:5000/oauth/authorize' - REQUEST_TOKEN_PARAMS = {'scope': ''} + ACCESS_TOKEN_URL = 'http://127.0.0.1:5000/oauth/oauth2/token' + AUTHORIZE_URL = 'http://127.0.0.1:5000/oauth/oauth2/authorize' + REQUEST_TOKEN_PARAMS = {'scope': 'basic'} - # Renkan config - CREATE_RENKAN_URL = '' \ No newline at end of file + # RENKAN CONFIG + CREATE_RENKAN_URL = 'http://127.0.0.1:8001/front/new/?context=http://127.0.0.1:5000' + CREATE_RENKAN_ENDPOINT = 'http://127.0.0.1:8001/api/v1_0/renkans/' \ No newline at end of file