Allo, Jérôme,
Thanks for the confirmation. I set up the service definition to extract the
email from the first item in Groovy and it works:
allowedAttributes:
{
@class: java.util.TreeMap
mail: "groovy { return attributes['emails'][0].getEmail() }"
}
Thank you!
Hi,
In pac4j, user profiles are available via the CommonProfile class and in
that case, from the Google2Profile which has a specific logic to get the
emails: https://github.com/pac4j/pac4j/blob/master/pac4j-
oauth/src/main/java/org/pac4j/oauth/profile/google2/Google2Profile.java#L22
We can
Hello,
I'm setting up an instance of CAS 5.1.5 that delegates authentication to
Google. I currently have it working more or less as intended in my
development sandbox, however I've hit one issue that I have yet to work
around.
Google returns a very big integer as the user ID, so I'd like to