File project.diff of Package python-social-auth-core

--- python-social-auth-core.changes.orig
+++ python-social-auth-core.changes
@@ -1,4 +1,9 @@
 -------------------------------------------------------------------
+Mon May  6 20:22:17 UTC 2024 - Georg Pfuetzenreuter <mail+rpm@georg-pfuetzenreuter.net>
+
+- Add generic-oidc-force-pkce.patch
+
+-------------------------------------------------------------------
 Thu Mar 28 05:49:33 UTC 2024 - Max Lin <mlin@suse.com>
 
 - Add %{?sle15_python_module_pythons}
--- python-social-auth-core.spec.orig
+++ python-social-auth-core.spec
@@ -29,6 +29,9 @@ Summary:        Python Social Auth Core
 License:        BSD-3-Clause
 URL:            https://github.com/python-social-auth/social-core
 Source:         https://github.com/python-social-auth/%{modname}/archive/%{version}.tar.gz#/%{modname}-%{version}.tar.gz
+# the generic OIDC backend does not expose PKCE, and the PKCE class cannot be directly instantiated
+# one would need to write a custom backend for Kanidm or write a proper patch to expose the PKCE class in the generic OIDC backend
+Patch0:         generic-oidc-force-pkce.patch
 BuildRequires:  %{python_module PyJWT >= 2.7.0}
 BuildRequires:  %{python_module cryptography >= 2.1.1}
 BuildRequires:  %{python_module defusedxml >= 0.5.0}
openSUSE Build Service is sponsored by