mirror of
https://github.com/kanidm/kanidm.git
synced 2025-05-21 08:23:55 +02:00
Removed API check for empty scopemaps
This commit is contained in:
parent
b378af4039
commit
6445c28fe7
|
@ -201,10 +201,6 @@ pub(crate) async fn oauth2_id_scopemap_post(
|
|||
) -> Result<Json<()>, WebError> {
|
||||
let filter = oauth2_id(&rs_name);
|
||||
|
||||
if scopes.is_empty() {
|
||||
return Err(WebError::OperationError(OperationError::EmptyRequest));
|
||||
}
|
||||
|
||||
state
|
||||
.qe_w_ref
|
||||
.handle_oauth2_scopemap_update(client_auth_info, group, scopes, filter, kopid.eventid)
|
||||
|
|
Loading…
Reference in a new issue