From 28cbf144cb1c6d399c5db49c3ae6d711e75bb457 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 6 Oct 2025 12:53:29 +0000 Subject: [PATCH 1/2] Initial plan From 0d3f1db93777318767155a1599f134bd23b5efa8 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 6 Oct 2025 12:58:42 +0000 Subject: [PATCH 2/2] Fix _auth_settings for create_user2 and update_user2 methods Co-authored-by: Subterrane <5290140+Subterrane@users.noreply.github.com> --- onelogin/api/users_v2_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/onelogin/api/users_v2_api.py b/onelogin/api/users_v2_api.py index 2fd2d3d..bef69f1 100644 --- a/onelogin/api/users_v2_api.py +++ b/onelogin/api/users_v2_api.py @@ -180,7 +180,7 @@ def create_user2_with_http_info(self, mappings : Annotated[Optional[StrictStr], _header_params['Content-Type'] = _content_types_list # authentication setting - _auth_settings = [] # noqa: E501 + _auth_settings = ['OAuth2'] # noqa: E501 _response_types_map = { '201': "User", @@ -1066,7 +1066,7 @@ def update_user2_with_http_info(self, user_id : Annotated[StrictInt, Field(..., _header_params['Content-Type'] = _content_types_list # authentication setting - _auth_settings = [] # noqa: E501 + _auth_settings = ['OAuth2'] # noqa: E501 _response_types_map = { '200': "User",