Mercurial > prosody-modules
view mod_adhoc_oauth2_client/README.markdown @ 5447:aa4828f040c5
mod_http_oauth2: Enforce client scope restrictions in authorization
When registering a client, a scope field can be included as a promise to
only ever use those. Here we enforce that promise, if given, ensuring a
client can't request or be granted a scope it didn't provide in its
registration. While currently there is no restrictions at registration
time, this could be changed in the future in various ways.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 11 May 2023 19:33:44 +0200 |
parents | a9c1cc91d3d6 |
children |
line wrap: on
line source
--- labels: - Stage-Alpha summary: 'Create OAuth2 clients via ad-hoc command' rockspec: dependencies: - mod_http_oauth2 ... Introduction ============ [Ad-Hoc command][XEP-0050] interface to [dynamic OAuth2 registration](https://oauth.net/2/dynamic-client-registration/) provided by [mod_http_oauth2]. Compatibility ============= Same as [mod_http_oauth2]