From 0b61c58196b2cfe91580683df029362909ac1185 Mon Sep 17 00:00:00 2001 From: Olivier Leger Date: Mon, 29 Aug 2022 14:20:11 -0400 Subject: [PATCH 1/2] OAuth: Set PKCE_REQUIRED to False --- onadata/settings/base.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/onadata/settings/base.py b/onadata/settings/base.py index f04f3c882..1e5a97fdd 100644 --- a/onadata/settings/base.py +++ b/onadata/settings/base.py @@ -485,7 +485,9 @@ def skip_suspicious_operations(record): 'SCOPES': { 'read': 'Read scope', 'write': 'Write scope', - 'groups': 'Access to your groups'} + 'groups': 'Access to your groups' + }, + 'PKCE_REQUIRED' : False, } # All registration should be done through KPI, so Django Registration should From 3bd168ac59216721cf64bf1ec18cebf5eb481234 Mon Sep 17 00:00:00 2001 From: Haidar Zeineddine Date: Fri, 9 Sep 2022 13:07:26 +0300 Subject: [PATCH 2/2] Update KOBOCAT_BROKER_URL Use the default Redis port for the broker URL as of the kobo-install implementation. --- onadata/settings/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onadata/settings/base.py b/onadata/settings/base.py index f04f3c882..8136f2405 100644 --- a/onadata/settings/base.py +++ b/onadata/settings/base.py @@ -668,7 +668,7 @@ def skip_suspicious_operations(record): ################################ CELERY_BROKER_URL = os.environ.get( - 'KOBOCAT_BROKER_URL', 'redis://localhost:6389/2') + 'KOBOCAT_BROKER_URL', 'redis://localhost:6379/2') CELERY_RESULT_BACKEND = CELERY_BROKER_URL