From 770d05c72c33e3681004853a08b3898cdae7c00c Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 3 Jun 2025 18:13:25 +0200 Subject: [PATCH] Declare use of no response types, since password grant uses none Needless restriction removed in https://hg.prosody.im/prosody-modules/rev/ef81c67e1ae7 --- snikket_web/prosodyclient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snikket_web/prosodyclient.py b/snikket_web/prosodyclient.py index ef785cd..2fbb2bf 100644 --- a/snikket_web/prosodyclient.py +++ b/snikket_web/prosodyclient.py @@ -473,7 +473,7 @@ class ProsodyClient: "https://{}/login_result".format(current_app.config["SNIKKET_DOMAIN"]) ], "grant_types": ["password"], - "response_types": ["code"], + "response_types": [], "scope": " ".join([SCOPE_RESTRICTED, SCOPE_DEFAULT, SCOPE_ADMIN]), "software_version": _version.version, }