You've already forked snikket-web-portal
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:
committed by
Matthew Wild
parent
145dda8c19
commit
ea75d8e832
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user