mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-06-22 01:58:21 +02:00
Use Django CAS Server to be authenticated to the Matrix server
This commit is contained in:
@ -60,6 +60,7 @@ INSTALLED_APPS = [
|
||||
'polymorphic',
|
||||
'rest_framework',
|
||||
'rest_framework.authtoken',
|
||||
'cas_server',
|
||||
|
||||
'api',
|
||||
'eastereggs',
|
||||
|
@ -35,6 +35,8 @@ urlpatterns = [
|
||||
|
||||
path('media/authorization/photo/<str:filename>/', PhotoAuthorizationView.as_view(), name='photo_authorization'),
|
||||
|
||||
path('cas/', include('cas_server.urls', namespace="cas_server")),
|
||||
|
||||
path('', include('eastereggs.urls')),
|
||||
]
|
||||
|
||||
|
Reference in New Issue
Block a user