diff -r 8bc8b208441d -r 4407b131a70e oauth/settings/oauth_settings.py.tmpl --- a/oauth/settings/oauth_settings.py.tmpl Wed Feb 17 16:14:04 2016 +0100 +++ b/oauth/settings/oauth_settings.py.tmpl Mon Feb 29 12:22:07 2016 +0100 @@ -1,14 +1,24 @@ class OAuthSettings(object): - # Redirect URIs for GED mock client - CLIENT_REDIRECT_URIS = [ + # MOCK GED CONFIG + MOCK_GED_REDIRECT_URIS = [ 'http://localhost:8000/authorized', 'http://127.0.0.1:8000/authorized', 'http://127.0.1:8000/authorized', 'http://127.1:8000/authorized', ] - # Redirect URIs for Renkan django app + MOCK_GED_CLIENT_ID = '' + MOCK_GED_CLIENT_SECRET = '' + MOCK_GED_SERVER_USER = 'mock_ged_server' + + # RENKAN CONFIG RENKAN_REDIRECT_URIS = [ - '/accounts/mtdc/login/callback/', - ] \ No newline at end of file + 'http://127.0.0.1:8001/accounts/mtdc/login/callback/', + 'http://127.0.0.1:8001/accounts/mtdc/login/callback/', + 'http://127.0.1:8001/accounts/mtdc/login/callback/', + 'http://127.1:8001/accounts/mtdc/login/callback/', + ] + RENKAN_CLIENT_ID = '' + RENKAN_CLIENT_SECRET = '' + RENKAN_SERVER_USER = 'renkan_server' \ No newline at end of file