Compare commits
No commits in common. "ac880b7e5b44471cbffb1df10cc0192e898ba173" and "43c7ef837f1ebc2065a5548d23be39598967a2de" have entirely different histories.
ac880b7e5b
...
43c7ef837f
@ -1,25 +1,12 @@
|
||||
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
|
||||
|
@ -42,7 +42,6 @@ INSTALLED_APPS = [
|
||||
'django.contrib.staticfiles',
|
||||
|
||||
'django_scim',
|
||||
'oauth2_provider',
|
||||
]
|
||||
|
||||
MIDDLEWARE = [
|
||||
@ -62,9 +61,7 @@ ROOT_URLCONF = 'scim_app.urls'
|
||||
TEMPLATES = [
|
||||
{
|
||||
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
||||
'DIRS': [
|
||||
BASE_DIR / 'templates',
|
||||
],
|
||||
'DIRS': [],
|
||||
'APP_DIRS': True,
|
||||
'OPTIONS': {
|
||||
'context_processors': [
|
||||
|
@ -20,7 +20,6 @@ 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')),
|
||||
]
|
||||
|
@ -1,7 +1,7 @@
|
||||
from django.utils.decorators import method_decorator
|
||||
from django.views.generic import TemplateView
|
||||
from django.views.generic import View
|
||||
from basicauth.decorators import basic_auth_required
|
||||
|
||||
@method_decorator(basic_auth_required, name='dispatch')
|
||||
class AuthView(TemplateView):
|
||||
template_name = "index.html"
|
||||
class AuthView(View):
|
||||
pass
|
||||
|
@ -1,14 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>SCIM app</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
Hallo!
|
||||
|
||||
<pre>
|
||||
{{ user }}
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
Loading…
x
Reference in New Issue
Block a user