Skip to content

Commit 54cb667

Browse files
authored
Merge pull request #12 from sap-linuxlab/dev
Merge dev to main for release 1.0.1
2 parents 09ea03b + 96c1a30 commit 54cb667

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plugins/module_utils/sap_id_sso.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ def sap_sso_login(username, password):
5959
if 'j_username' in meta:
6060
meta['j_username'] = username
6161
meta['j_password'] = password
62+
if 'changePassword' in endpoint:
63+
raise ValueError('SAP ID Service has requested `Change Your Password`, possibly the password is too old. Please reset manually and try again.')
6264

6365
if 'authn' in endpoint:
6466
support_endpoint, support_meta = _get_sso_endpoint_meta(endpoint,

0 commit comments

Comments
 (0)