Use specific attribute for nameID in SAML2 and another one as fallback
73 views
Skip to first unread message
Thiago Castro
unread,
Dec 11, 2025, 2:11:15 PMDec 11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CAS Community
Hello everyone,
Currently, we can define a specific attribute for nameID in service definition. If that attribute is not present, it uses the default resolved in authentication according with documentation. Is there a way that I can set an attribute as fallback? I want to set "CPF" as the attribute for nameID (which can be done via service definition) and another one called "DRE" as the fallback. And the user authenticates in CAS using email.
Best regards,
Thiago
Ray Bon
unread,
Dec 11, 2025, 3:59:36 PMDec 11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cas-...@apereo.org
Thiago,
You can use groovy scripting for either Attribute Definition or Attribute Resolution.