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: