I've been trying to use the following property:
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
It didn't seem to work so I started digging thru the code.
I see mappedClaims property in BasePac4jOidcClientProperties:
/**
* List arbitrary mappings of claims when fetching user profiles.
* Uses a "directed list" where the allowed
* syntax would be {@code claim->attribute}.
*/
private List<String> mappedClaims = new ArrayList<>();
but I dont see mappedClaims being referenced anywhere except
for BaseDelegatedIdentityProviderFactory.java class which is new in
v7.0.0-RC9.
How else to map a claim to a custom attribute which I plan on releasing
downstream?
-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 [email protected].
To view this discussion on the web visit
https://groups.google.com/a/apereo.org/d/msgid/cas-user/86b944f5-45a2-4253-a7b6-c6cfcbd3d943n%40apereo.org.