From c2e30a68552388c52b1fc0977628239d3f292708 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Mon, 22 Jun 2020 16:01:46 +0200 Subject: [PATCH] Fix authentication in Android mobile application Login on Android mobile app was failing with "check your username and password". --- CHANGELOG.md | 4 ++++ tutor/templates/hooks/lms/init | 1 + 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index aa9f1d0..757fb27 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ Note: Breaking changes between versions are indicated by "💥". +## Unreleased + +- [Bugfix] Fix authentication in Android mobile application + ## v10.0.6 (2020-06-22) - [Bugfix] Fix unsent activation emails and other asynchronous tasks diff --git a/tutor/templates/hooks/lms/init b/tutor/templates/hooks/lms/init index 07bfbd1..c91a213 100644 --- a/tutor/templates/hooks/lms/init +++ b/tutor/templates/hooks/lms/init @@ -9,6 +9,7 @@ echo "Loading settings $DJANGO_SETTINGS_MODULE" --client-id android \ --client-secret {{ ANDROID_OAUTH2_SECRET }} \ --grant-type password \ + --public \ android \ login_service_user