Chloe Carson Posted September 7, 2022 Posted September 7, 2022 Hi, I am creating a contact within a business process but when setting their login credentials for the customer portal, I am getting the following error: setPortalAccessCredentials - "EspMethodCall::invoke: Operation[admin::contactSetAuthentication] The value in element <authCredential> did not meet the required input pattern constraints. at location '/methodCall/params/authCredential'" I have done this both with password as normal text and with password BASE64 encoded.
Steve Giller Posted September 7, 2022 Posted September 7, 2022 If you navigate to Admin -> Platform Configuration -> Advanced System Settings and enter "passwordPolicy" in the filter box you will see the various constraint settings. The obvious ones to look for are: security.guest.passwordPolicy.minimumLength security.guest.passwordPolicy.mustContainLowerCase security.guest.passwordPolicy.mustContainNumeric security.guest.passwordPolicy.mustContainSpecial security.guest.passwordPolicy.mustContainUpperCase but there are a few more, and of course the user variants for Full/Basic users if required.
Martyn Houghton Posted September 7, 2022 Posted September 7, 2022 @Chloe Carson If you create the contact manually with the password does it work? Might be worth checking the password requirements in advanced settings given the error message mentions these. Cheers Martyn
Chloe Carson Posted September 7, 2022 Author Posted September 7, 2022 Hi Martyn The same password and login ID work if set manually Thanks
Chloe Carson Posted September 7, 2022 Author Posted September 7, 2022 3 minutes ago, Steve Giller said: If you navigate to Admin -> Platform Configuration -> Advanced System Settings and enter "passwordPolicy" in the filter box you will see the various constraint settings. The obvious ones to look for are: security.guest.passwordPolicy.minimumLength security.guest.passwordPolicy.mustContainLowerCase security.guest.passwordPolicy.mustContainNumeric security.guest.passwordPolicy.mustContainSpecial security.guest.passwordPolicy.mustContainUpperCase but there are a few more, and of course the user variants for Full/Basic users if required. Hi Steve I checked these but the password doesnt seem to go against anything we have here. We haven't changed any of these from the generic and I'm using the password generator node with 12 characters and including numbers. The same password works if done manually in guest accounts in platform configuration
Victor Posted September 7, 2022 Posted September 7, 2022 @Chloe Carson the error you see there is because https://api.hornbill.com/admin/?op=contactSetAuthentication API fails to execute for the reason mentioned in the error, which is the value for <authCredential> param did not meet the required input pattern constraints. This is a "passwordType" param and it needs to comply with the patterns documented here: https://api.hornbill.com/_types/passwordType. Whatever value ends up in the <authCredential> param, it does not comply with this.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now