Hi Mindaugas, I have encounter this issue before, from what i know there are 3 ways to handle this issue:
1. Update CAS to 5.3.x (Recommended), which will fix this issue 2. Update pac4j-oauth to latest version - In your Maven (suppose you are using maven), add an entry to pom.xml similar to like: <dependency> pac4j-oauth 3.8.3 </dependency> >From my experience, it should be working ok, however still option 1 is the best fix. 3. Update Google2ProfileDefinition class directly (Can be done but not the best idea, would not recommend since the above would fix it nicely without manual fix) See if the above helps you. Cheers! - Andy -- - 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/f62b48f5-3ad4-4881-aa87-1d3f4f8ab144%40apereo.org.