Skip to content

Commit 5cb6378

Browse files
authored
Merge pull request #112 from onelogin/copilot/fix-e2762c28-922c-4700-8d4f-05df4a4e2c0c
Fix missing OAuth2 authentication for create_user2 and update_user2 methods
2 parents 055203c + 0d3f1db commit 5cb6378

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

onelogin/api/users_v2_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def create_user2_with_http_info(self, mappings : Annotated[Optional[StrictStr],
180180
_header_params['Content-Type'] = _content_types_list
181181

182182
# authentication setting
183-
_auth_settings = [] # noqa: E501
183+
_auth_settings = ['OAuth2'] # noqa: E501
184184

185185
_response_types_map = {
186186
'201': "User",
@@ -1066,7 +1066,7 @@ def update_user2_with_http_info(self, user_id : Annotated[StrictInt, Field(...,
10661066
_header_params['Content-Type'] = _content_types_list
10671067

10681068
# authentication setting
1069-
_auth_settings = [] # noqa: E501
1069+
_auth_settings = ['OAuth2'] # noqa: E501
10701070

10711071
_response_types_map = {
10721072
'200': "User",

0 commit comments

Comments
 (0)