From d219062ed3f2178315ba53daa44a765f2dac6b43 Mon Sep 17 00:00:00 2001 From: varuna-sd <47909216+varuna-sd@users.noreply.github.com> Date: Thu, 25 Jun 2020 11:09:33 +0530 Subject: [PATCH] Fix a bug in client exclusion --- oidc_provider/lib/endpoints/authorize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oidc_provider/lib/endpoints/authorize.py b/oidc_provider/lib/endpoints/authorize.py index c5a4ff39..179337cc 100644 --- a/oidc_provider/lib/endpoints/authorize.py +++ b/oidc_provider/lib/endpoints/authorize.py @@ -320,7 +320,7 @@ def end_session_in_rps(self): queryset = Client.objects.get_queryset() if self._client: - queryset = queryset.exclude(client=self._client) + queryset = queryset.exclude(client_id=self._client.client_id) for client in queryset.all(): if client.backchannel_logout_uri: