Custom SAML IDP Attribute Mapper Script not showing in logs

Hi,
I am trying to built some custom code in SAML2 IDP attribute mapper using the existing javascript template in Identity Cloud, however trying to debug the script and the loggers are not shown in any of the log files, tried am-core, am-everything. I have tried custom scripts for SAML idp adapter and scripted decision nodes and they show in logs.

Any idea on this or has anyone faced anything similar. Any input will be appreciated.

Hi @venuarathi,

Can you share the log statement? And against which environment are you testing?

Regards
Patrick

Hi Patrick,
Thanks a lot for the reply.
https://backstage.forgerock.com/docs/idcloud/latest/_attachments/scripts/saml2-idp-attribute-mapper.js This is the default script we are trying where we have logger.message statements, we are trying to see this code to understand how the hash set is taken so that we can manipulate it for customization, however when trying to print these logger statements they are not shown in the logs.

1 Like

Hi @venuarathi,

Which Identity Cloud environment is it? Debug log might not be enabled - can you test logging to error? If it’s a development, or sandbox environment, you might need to submit a ticket to enable the debug logs.

Regards
Patrick

Hi @patrick_diligent
Thanks for your reply. Is it possible to control this level for ForgeRock Identity Cloud like on prem? The logger statements however prints for authentication scripted decision node scripts as well as even for IDP adapter. Its only for attribute mapper, we are seeing this behavior.

Thanks and Regards
Arathi

Hi @venuarathi,

You’ll have to submit a support ticket to the identity cloud team to get this resolved for you,

Regards
Patrick

2 Likes