Commit caaea534 authored by Robert's avatar Robert

Add basic oauth2 provider, refs #98

parent c5ea51e1
Pipeline #1950 passed with stage
in 8 minutes and 21 seconds
......@@ -39,11 +39,13 @@ INSTALLED_APPS = [
'allauth.socialaccount',
# deactivated, see #662
# 'cachalot',
'corsheaders',
'django_filters',
'django_mailbox',
'huey.contrib.djhuey',
'haystack',
'imagekit',
'oauth2_provider',
'rest_framework',
'rules',
'taggit',
......@@ -63,6 +65,7 @@ INSTALLED_APPS = [
]
MIDDLEWARE = [
'corsheaders.middleware.CorsMiddleware',
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
......
from django.urls import path, re_path
from django.urls import include, path, re_path
from django.conf.urls import url
from grouprise.features.content.views import Detail as AssociationDetailView
......@@ -39,4 +39,6 @@ urlpatterns = [
r'^(?P<entity_slug>[\w-]+)/(?P<association_slug>[\w-]+)/$',
AssociationDetailView.as_view(),
name='content'),
path('stadt/oauth/', include('oauth2_provider.urls', namespace='oauth2_provider')),
]
......@@ -4,12 +4,14 @@ django<2.3 # debian: python3-django
django-allauth # debian (buster): python3-django-allauth
# deactivated, see #662
# django-cachalot # NOT IN DEBIAN
django-cors-middleware # debian: python3-django-cors-headers
django-csp # debian (buster): python3-django-csp
django-filter # debian: python3-django-filters
django-haystack # debian: python3-django-haystack
django-ical # NOT IN DEBIAN
django-imagekit # debian (buster): python3-django-imagekit
django-mailbox # NOT IN DEBIAN
django-oauth-toolkit # python3-django-oauth-toolkit
django-taggit
djangorestframework # debian: python-djangorestframework
feedparser # debian: python3-feedparser
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment