Skip to content

Commit 7e2fc5c

Browse files
authored
ARK-600: App name fix (#26)
1 parent ea68123 commit 7e2fc5c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

ark_sdk_python/models/auth/ark_auth_method.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class IdentityArkAuthMethodSettings(ArkAuthMethodSettings):
3939
class IdentityServiceUserArkAuthMethodSettings(ArkAuthMethodSettings):
4040
identity_authorization_application: str = Field(
4141
description='Identity application to authorize once logged in with the service user',
42-
default='__identity_cybr_user_oidc',
42+
default='__idaptive_cybr_user_oidc',
4343
alias='Service User Authorization Application',
4444
)
4545

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "ark-sdk-python"
3-
version = "1.2.0"
3+
version = "1.2.1"
44
description='Official Ark SDK / CLI for CyberArk Identity Security Platform'
55
authors = ["CyberArk <[email protected]>", "Ofir Iluz <[email protected]"]
66
readme = "README.md"

tests/unit/auth/test_ark_isp_auth.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,16 +80,16 @@ def test_identity_service_user_auth_method(self, mocker: MockerFixture, from_pro
8080
assert 'cookies' in token.metadata
8181
tenant_fqdn_mock.assert_called_once()
8282
session_mock.return_value.post.assert_any_call(
83-
url='https://url.com/Oauth2/Token/__identity_cybr_user_oidc',
83+
url='https://url.com/Oauth2/Token/__idaptive_cybr_user_oidc',
8484
auth=HTTPBasicAuth('[email protected]', 'token'),
8585
verify=True,
8686
data={'grant_type': 'client_credentials', 'scope': 'api'},
8787
)
8888
session_mock.return_value.get.assert_any_call(
89-
url='https://url.com/OAuth2/Authorize/__identity_cybr_user_oidc',
89+
url='https://url.com/OAuth2/Authorize/__idaptive_cybr_user_oidc',
9090
headers={'Authorization': 'Bearer access_token'},
9191
params={
92-
'client_id': '__identity_cybr_user_oidc',
92+
'client_id': '__idaptive_cybr_user_oidc',
9393
'response_type': 'id_token',
9494
'scope': 'openid profile api',
9595
'redirect_uri': 'https://cyberark.cloud/redirect',

0 commit comments

Comments
 (0)