Hi Matthew, looks like you don't have an attribute named `firstname`. What's the attribute name in your source for the first name? On Tuesday, February 18, 2025 at 10:00:07 AM UTC-8 Matthew Gordon wrote:
> I am using this example for the JSON Attribute Definitions " Embedded > Script" > https://apereo.github.io/cas/7.0.x/integration/Attribute-Definitions.html > > It does not appear to be working, and throws an error: > > 2025-02-18 11:03:12,125 WARN > [org.apereo.cas.authentication.DefaultPrincipalAttributesMapper] - > <Groovy-scripted attribute returned no value for [eduPersonPrincipalName]> > 2025-02-18 11:03:12,132 ERROR > [org.apereo.cas.util.scripting.GroovyShellScript] - <startup failed: > Script1.groovy: 1: Unexpected input: '}' @ line 1, column 109. > Hi', attributes['firstname']] }, canonic > ^ > > 1 error > > ErrorCollector.java:failIfErrors:292 > ErrorCollector.java:addFatalError:148 > AstBuilder.java:collectSyntaxError:4753 > AstBuilder.java:access$100:169 > > > 2025-02-18 11:03:12,132 WARN > [org.apereo.cas.authentication.DefaultPrincipalAttributesMapper] - > <Groovy-scripted attribute returned no value for [eduPersonPrincipalName]> > > > Any idea what could be wrong? > > Thank you, > Matt > -- - Website: https://apereo.github.io/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+unsubscr...@apereo.org. To view this discussion visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/ecf2797f-cdff-46b9-ba58-c99f05cd4439n%40apereo.org.