Régis Behmo c2d05ef635 v14.0.0: upgrade to nutmeg
The app is upgraded to v3.0.2. Version v3.1.0 was not functional in our
experiment: it was crashing on every run.
2022-06-09 20:10:57 +02:00

13 lines
510 B
Plaintext

# Delete obsolete credentials for Android application
./manage.py lms shell -c 'from oauth2_provider.models import get_application_model
get_application_model().objects.filter(name="android").exclude(user__username="login_service_user").delete()'
# Create oauth credentials for Android application
./manage.py lms create_dot_application \
--client-id android \
--client-secret {{ ANDROID_OAUTH2_SECRET }} \
--grant-type password \
--public \
--update \
android \
login_service_user