File tree 2 files changed +12
-0
lines changed
2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 60
60
'django_cas_ng.middleware.CASMiddleware' ,
61
61
62
62
'lti_tool.middleware.LtiLaunchMiddleware' ,
63
+
64
+ 'lti_authentication.middleware.LtiLaunchAuthenticationMiddleware' ,
63
65
]
64
66
65
67
INSTALLED_APPS = [ # noqa
116
118
AUTHENTICATION_BACKENDS = [
117
119
'django.contrib.auth.backends.ModelBackend' ,
118
120
'django_cas_ng.backends.CASBackend' ,
121
+
122
+ # django-lti-provider (LTI 1.1)
119
123
'lti_provider.auth.LTIBackend' ,
124
+
125
+ # django-lti-authentication (LTI 1.3)
126
+ 'lti_authentication.backends.LtiLaunchAuthenticationBackend' ,
120
127
]
121
128
122
129
CSRF_TRUSTED_ORIGINS = [
139
146
'allow_ta_access' : False
140
147
}
141
148
149
+ LTI_AUTHENTICATION = {
150
+ 'use_person_sourcedid' : True ,
151
+ }
152
+
142
153
TEMPLATES = [
143
154
{
144
155
'BACKEND' : 'django.template.backends.django.DjangoTemplates' ,
Original file line number Diff line number Diff line change @@ -93,6 +93,7 @@ pyjwt==2.10.1 # pylti1p3
93
93
jwcrypto == 1.5.6 # pylti1p3
94
94
PyLTI1p3 == 2.0.0 # django-lti
95
95
django-lti == 0.8.0
96
+ django-lti-authentication == 0.2.0
96
97
97
98
django-braces == 1.17.0
98
99
django-smtp-ssl == 1.0
You can’t perform that action at this time.
0 commit comments