Click HERE to see how Saviynt Intelligence is transforming the industry. |
05/06/2024 03:15 AM
Hi Team,
Our Reqirement is to generate random password while account creation in target application. We are able to pass hardcoded password value, but if we try to pass the password value by using binding variable as ${randompassword}. We are getting an error.
We have created one password policy using regex expression and configured at security system level.
Please find the createaccountjson which we are using for random password generation.
Could someone help us to resolve this issue?
Thanks,
Bhargavi Padaraju.
05/06/2024 03:23 AM
@Bhargavi3 please below article help full
https://forums.saviynt.com/t5/identity-governance/rest-connector-random-passwoed/m-p/9052
https://forums.saviynt.com/t5/identity-governance/provision-user-password/m-p/77318
05/06/2024 05:32 AM
Hi @Raghu ,
I referred those docs and used the below passswrdpolicyJson and removed password ploicy from security system. I have used ${randompassword} variable. But did not work.
{
"minLength": 8,
"maxLength": 20,
"noOfCAPSAlpha": 3,
"noOfDigits": 2,
"noOfSplChars": 3
}
Please find the logs :
thanks,
Bhargavi.
05/06/2024 06:04 AM
Hi @Bhargavi3, use ${password} instead of randompassword
05/06/2024 06:08 AM - edited 05/06/2024 06:10 AM
@Bhargavi3 try below
${account_password} and ${password} and ${randompassword} This will work if you have configured PasswdPolicyJSON and email template use ${task.password}
05/06/2024 07:06 PM
it should be ${randomPassword}
05/06/2024 10:29 PM
Hi @rushikeshvartak , I tried but did not work.
Provisioning comments in pending tasks:
call1":{"headers":null,"message":"","statusCode":null,"description":null,"status":"Failed"}}
Hi @Raghu , I have used with three binding variables but still same error.
Provisioning comments :
call1":{"headers":null,"message":"","statusCode":null,"description":null,"status":"Failed"}}
PasswodpolicyJson which I am using is :
{
"minLength": 8,
"maxLength": 20,
"noOfCAPSAlpha": 3,
"noOfDigits": 2,
"noOfSplChars": 3
}
Any other way to make this works?
Thanks,
Bhargavi Padaraju.
05/07/2024 07:50 PM
Without password does your json works ?
05/07/2024 08:43 PM
@Bhargavi3 Connection not established correctly , pass hard code and test fst working or not?
05/07/2024 10:15 PM
@rushikeshvartak Password is mandatory field. Without password field we will get 400 Bad request.
@Raghu , Its working fine with hardcoded value. Facing issue with binding variable.
Which approach do I need to follow? Should I create password policy with Regex condition and call it at security system or should I provide passpolicyJson from connector.
I tried with both scenarios but did not work.
Thanks,
Bhargavi Padaraju.
Bhargavi Padaraju.
05/16/2024 09:02 PM
Hi Team,
could someone please help me to resolve this issue?
Thanks,
Bhargavi Padaraju.
05/16/2024 09:06 PM
${password}
05/16/2024 09:09 PM
if not randompassword should work
05/16/2024 10:07 PM
Hi @rushikeshvartak ,
Thanks for the reply. I tried with ${password},${randompassword},${Password},${randomPassword}. did not work. Please check my pwdpolicyJosn:
{
"minLength": 8,
"maxLength": 11,
"noOfCAPSAlpha": 1,
"noOfDigits": 3,
"noOfSplChars": 1
}
createaccjson:
am I missing any configuration pls let me know?
Thanks,
Bhargavi Padaraju.
05/16/2024 10:39 PM
Please share full connection page screenshot masking information
05/16/2024 11:42 PM
Please find attached CreateAccjson:
Thanks,
Bhargavi Padaraju.
05/20/2024 10:26 PM