Install OAuth2 because basic auth sucks

This commit is contained in:
Xeryus Stokkel 2022-01-13 14:28:38 +01:00
parent ae5a97d7ec
commit ac880b7e5b
Signed by: Xeryus Stokkel
GPG Key ID: 7023C2C891DDE681
3 changed files with 15 additions and 0 deletions

View File

@ -1,12 +1,25 @@
asgiref==3.4.1
certifi==2021.10.8
cffi==1.15.0
charset-normalizer==2.0.10
cryptography==36.0.1
Deprecated==1.2.13
Django==3.2
django-basicauth==0.5.3
django-oauth-toolkit==1.6.3
django-scim2==0.17.0
gunicorn==20.1.0
idna==3.3
jwcrypto==1.0
oauthlib==3.1.1
psycopg2-binary==2.9.3
pycparser==2.21
python-dateutil==2.8.2
pytz==2021.3
requests==2.27.1
scim2-filter-parser==0.3.5
six==1.16.0
sly==0.3
sqlparse==0.4.2
urllib3==1.26.8
wrapt==1.13.3

View File

@ -42,6 +42,7 @@ INSTALLED_APPS = [
'django.contrib.staticfiles',
'django_scim',
'oauth2_provider',
]
MIDDLEWARE = [

View File

@ -20,6 +20,7 @@ from . import views
urlpatterns = [
path('auth/', views.AuthView.as_view()),
path('oauth/', include('oauth2_provider.urls', namespace='oauth2_provider')),
path('admin/', admin.site.urls),
path('scim/v2/', include('django_scim.urls')),
]