From 6a65d8b3db0109fb72b95aa4dc16c8430779b677 Mon Sep 17 00:00:00 2001
From: Dominik George <dominik.george@teckids.org>
Date: Sun, 6 Nov 2022 11:48:55 +0100
Subject: [PATCH] Downgrade OAuth toolkit to 1.7.1 and release bugfix

(cherry picked from commit 196467bca96e68da6a97a5061bdf2a3cd43cff1a)
---
 CHANGELOG.rst  | 9 +++++++++
 pyproject.toml | 2 +-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index 6e0a39795..b38015dc1 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -28,6 +28,14 @@ Removed
   * It caused major performance issues and is not useful with the new
     frontend anymore
 
+`2.12.1`_ - 2022-11-06
+----------------------
+
+Fixed
+~~~~~
+
+* An invalid backport caused OIDC clients without PKCD to fail.
+
 `2.12`_ - 2022-11-04
 --------------------
 
@@ -970,3 +978,4 @@ Fixed
 .. _2.11: https://edugit.org/AlekSIS/Official/AlekSIS/-/tags/2.11
 .. _2.11.1: https://edugit.org/AlekSIS/Official/AlekSIS/-/tags/2.11.1
 .. _2.12: https://edugit.org/AlekSIS/Official/AlekSIS/-/tags/2.12
+.. _2.12.1: https://edugit.org/AlekSIS/Official/AlekSIS/-/tags/2.12.1
diff --git a/pyproject.toml b/pyproject.toml
index 828f987b1..2c4c646a1 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -113,7 +113,7 @@ django-allauth = "^0.51.0"
 django-uwsgi-ng = "^1.1.0"
 django-extensions = "^3.1.1"
 ipython = "^8.0.0"
-django-oauth-toolkit = "^2.0.0"
+django-oauth-toolkit = "^1.7.1"
 django-redis = "^5.0.0"
 django-storages = {version = "^1.11.1", optional = true}
 boto3 = {version = "^1.17.33", optional = true}
-- 
GitLab