You've already forked snikket-web-portal
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()
This commit is contained in:
committed by
Matthew Wild
parent
9474238dee
commit
1a65ba6150
@@ -477,6 +477,7 @@ class ProsodyClient:
|
|||||||
"response_types": [],
|
"response_types": [],
|
||||||
"token_endpoint_auth_method": "client_secret_post",
|
"token_endpoint_auth_method": "client_secret_post",
|
||||||
"scope": " ".join([SCOPE_RESTRICTED, SCOPE_DEFAULT, SCOPE_ADMIN]),
|
"scope": " ".join([SCOPE_RESTRICTED, SCOPE_DEFAULT, SCOPE_ADMIN]),
|
||||||
|
"software_id": "22aa246e-4373-51cb-bcaa-9f73bb235b84", # web-portal.snikket.org
|
||||||
"software_version": _version.version,
|
"software_version": _version.version,
|
||||||
}
|
}
|
||||||
async with self._plain_session as session:
|
async with self._plain_session as session:
|
||||||
|
|||||||
Reference in New Issue
Block a user