X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=solution%2Fsmo%2Fcommon%2Fidentity%2Fconfig.py;h=393d9189f26fa40eeb757be2f7ba3797a85704a2;hb=882d46b08e1af90a9d0649ed01d2b9f2063b49b6;hp=9db5de109a78a53147b2b02ff14b0809df0e4257;hpb=990de7205645f827a36429006f7e5529b5fb6866;p=oam.git diff --git a/solution/smo/common/identity/config.py b/solution/smo/common/identity/config.py index 9db5de1..393d918 100644 --- a/solution/smo/common/identity/config.py +++ b/solution/smo/common/identity/config.py @@ -202,9 +202,12 @@ def createUsers(token, realmConfig, authConfig): { "type": "password", "value": password, - "temporary": False + "temporary": True } - ] + ], + "requiredActions": [ + "UPDATE_PASSWORD" + ] } createUser(token, realmConfig, systemUser) @@ -232,7 +235,6 @@ def addUserRole(user: dict, role: dict, options: dict): # searches for the role of a given user - def findRole(username: str, authConfig: dict, realmConfig: dict) -> dict: roleName = 'administration' for grant in authConfig['grants']: