Custom Password Policy – Error when referencing an external script

Tagged: , ,

This topic has 0 replies, 1 voice, and was last updated 3 years ago by Andrew.

  • Author
  • #25994

    Hi There,

    I need to add a new custom password policy. I have followed these instructions Also these

    Using after adding my script to the additionalFiles value in config/policy.json I get the following error:

    WARNING: Resource exception: 500 Internal Server Error: “SyntaxError: missing } after property list”
    org.forgerock.json.resource.InternalServerErrorException: SyntaxError: missing } after property list

    My conf/policy.json file looks like this:

    “type” : “text/javascript”,
    “file” : “policy.js”,
    “additionalFiles” : [“script/maxLength_policy.js”],
    “resources” : [

    Any idea what I may be doing wrong.


Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

©2022 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?