From f96c016f2378133d7a1301ee264a11806c5ef680 Mon Sep 17 00:00:00 2001 From: chrisjsimpson Date: Fri, 17 May 2019 15:37:34 +0100 Subject: [PATCH 1/2] Improve inline documentation of OAUTH_BASE_URL Issue #54 --- apitester/apitester/settings.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/apitester/apitester/settings.py b/apitester/apitester/settings.py index 09c764d..8efaedb 100644 --- a/apitester/apitester/settings.py +++ b/apitester/apitester/settings.py @@ -213,4 +213,11 @@ # Settings here might use parts overwritten in local settings API_ROOT = API_HOST + API_BASE_PATH + API_VERSION -#OAUTH_BASE_URL='https://apisandbox.openbankproject.com' \ No newline at end of file +''' +OAUTH_BASE_URL should be the url of this appliation. It is used by API_HOST +as the return url. API_HOST is the hostname & scheme of the Open Bank API. +When API Tester (this application) tries to authenticate with Open Bank API +during oauth1 flow, it sends the OAUTH_BASE_URL along with it which is +used as the redirect url back to this application. +''' +#OAUTH_BASE_URL='https://api-tester.example.com' From eb5bdbe4e0ea4551bfc955d6420fd6fb1518327b Mon Sep 17 00:00:00 2001 From: chrisjsimpson Date: Fri, 17 May 2019 15:37:34 +0100 Subject: [PATCH 2/2] Improve inline documentation of OAUTH_BASE_URL Issue #54 --- apitester/apitester/settings.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/apitester/apitester/settings.py b/apitester/apitester/settings.py index 55e13f6..82efaf1 100644 --- a/apitester/apitester/settings.py +++ b/apitester/apitester/settings.py @@ -213,4 +213,11 @@ # Settings here might use parts overwritten in local settings API_ROOT = API_HOST + API_BASE_PATH + API_VERSION -#REDIRECT_URL='https://apisandbox.openbankproject.com' \ No newline at end of file +''' +REDIRECT_URL should be the url of this appliation. It is used by API_HOST +as the return url. API_HOST is the hostname & scheme of the Open Bank API. +When API Tester (this application) tries to authenticate with Open Bank API +during oauth1 flow, it sends the REDIRECT_URL along with it which is +used as the redirect url back to this application. +''' +#REDIRECT_URL='https://api-tester.example.com'