I'm about to authenticate against azure, and process the token for user 
attrubutes. I am also able to remap attributes via service config:
{
                    "@class": 
"org.apereo.cas.services.ReturnMappedAttributeReleasePolicy",
                    "allowedAttributes": {
                        "@class": "java.util.TreeMap",
                        "upn": "Email",
                        "givenName": "firstName",
                        "surName": "lastName"
                    }
                }

*But I need the mapped attributes during my login webflow action. *The 
mapped attribute does not exist at this point until after the service 
ticket is created I assume.

Remapping via
cas.authn.pac4j.oidc[0].azure.mapped-claims=upn->Email
per documentation located at 
https://apereo.github.io/cas/6.6.x/integration/Delegate-Authentication-Azure-AD.html
does not appear to be fully implemented in v6.6.8. 

Is there anyway to map this or should I resort to modifying principal 
attributes during my login webflow?

-psv

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/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 on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/fbf30714-d85c-4e0d-980b-be5cb50e12e9n%40apereo.org.

Reply via email to