Customize the OpenID Connect Custom Logic script
For OpenID Connect applications, you must edit the Custom Logic script on the Tokens page to add custom claims to the ID Token and /userinfo endpoint response. For more information on custom claims, see the Claims topic in the Developer Documentation.
Before you edit the script, be sure that you’ve already located the claims information that you need to specify in the script.
You must modify the script for it to work; it does not have the specific details required to work with your application until you edit the script.