From 1a65ba61500ad3939be737c60ff7bb291374642c Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 3 Jun 2025 18:18:24 +0200 Subject: [PATCH] Include a software id in oauth client registration This is supposed to be a unique and persistent identifier for the software itself, regardless of version or deployment instance. Generated from the domain name in the comment using uuid_generate_sha1() --- snikket_web/prosodyclient.py | 1 + 1 file changed, 1 insertion(+) diff --git a/snikket_web/prosodyclient.py b/snikket_web/prosodyclient.py index 84b444b..765ce28 100644 --- a/snikket_web/prosodyclient.py +++ b/snikket_web/prosodyclient.py @@ -477,6 +477,7 @@ class ProsodyClient: "response_types": [], "token_endpoint_auth_method": "client_secret_post", "scope": " ".join([SCOPE_RESTRICTED, SCOPE_DEFAULT, SCOPE_ADMIN]), + "software_id": "22aa246e-4373-51cb-bcaa-9f73bb235b84", # web-portal.snikket.org "software_version": _version.version, } async with self._plain_session as session: