Unfortunately, using django-lti-toolbox is compromised because same models are used in Marsha.
This would cause problems in our blue/green deployment approach.
As oauthlib is way more maintained than oauth2, we use it.
The LTIRequestValidator part of django-lti-toolbox has been used here.
[x] remove pylti
[x] add oauthlib
[x] implement glue code between marsha and oauthlib by adding parts of django-lti-toolbox
Purpose
Replace pylti with openfun/django-lti-toolbox, oauth2 or oauthlib
Fixes #2422 #130
Proposal
Unfortunately, using django-lti-toolbox is compromised because same models are used in Marsha. This would cause problems in our blue/green deployment approach.
As oauthlib is way more maintained than oauth2, we use it.
The LTIRequestValidator part of django-lti-toolbox has been used here.