Include requested scopes in oauth client registration

This can be used on the oauth server side to enforce that no additional
scopes are added.
This commit is contained in:
Kim Alvefur
2025-06-03 01:41:42 +02:00
committed by Matthew Wild
parent 145dda8c19
commit ea75d8e832

View File

@@ -474,6 +474,7 @@ class ProsodyClient:
],
"grant_types": ["password"],
"response_types": ["code"],
"scope": " ".join([SCOPE_RESTRICTED, SCOPE_DEFAULT, SCOPE_ADMIN]),
"software_version": _version.version,
}
async with self._plain_session as session: