From bd3509b4d166a93f30ef911c5986ad5164add77b Mon Sep 17 00:00:00 2001
From: Markus <9neblung@informatik.uni-hamburg.de>
Date: Thu, 25 Apr 2024 14:14:40 +0200
Subject: [PATCH] add simple_openid_connect middleware in settings.py

---
 .../src/{{ cookiecutter.project_slug }}/settings.py              | 1 +
 1 file changed, 1 insertion(+)

diff --git a/{{ cookiecutter.project_slug }}/src/{{ cookiecutter.project_slug }}/settings.py b/{{ cookiecutter.project_slug }}/src/{{ cookiecutter.project_slug }}/settings.py
index 4de4b38..4b640a4 100644
--- a/{{ cookiecutter.project_slug }}/src/{{ cookiecutter.project_slug }}/settings.py	
+++ b/{{ cookiecutter.project_slug }}/src/{{ cookiecutter.project_slug }}/settings.py	
@@ -90,6 +90,7 @@
     "django.contrib.auth.middleware.AuthenticationMiddleware",
     "django.contrib.messages.middleware.MessageMiddleware",
     "django.middleware.clickjacking.XFrameOptionsMiddleware",
+    "simple_openid_connect.integrations.django.middleware.TokenVerificationMiddleware",
 ]
 
 ROOT_URLCONF = "{{ cookiecutter.project_slug }}.urls"