From 6ee13e5374876fe4365b3906d659b081a71a4f23 Mon Sep 17 00:00:00 2001
From: Sander Roosendaal
The redirect URI for user authentication has to be https. + Developers of iOS or Android apps should contact me directly if + this doesn't work for them. I can add exceptions.
+The POST call must have content-type: x-www-form-urlencoded. I set it this way to support the handy testing utility mentioned belower. However, diff --git a/rowsandall_app/settings.py b/rowsandall_app/settings.py index 6a7a614a..4b8ef550 100644 --- a/rowsandall_app/settings.py +++ b/rowsandall_app/settings.py @@ -324,6 +324,9 @@ GMAPIKEY = CFG['gmapikey'] OAUTH2_PROVIDER = { # this is the list of available scopes 'SCOPES': {'read': 'Read scope', 'write': 'Write scope', 'groups': 'Access to your groups'}, + 'ALLOWED_REDIRECT_URI_SCHEMES': ["http", + "https", + "rowingcoachexport"] # 'OAUTH2_BACKEND_CLASS': 'oauth2_provider.oauth2_backends.JSONOAuthLibCore' }