public boolean getUserInfo ( ProviderAuthenticationResult oidcResult , SSLSocketFactory sslSocketFactory , String accessToken , String subjectFromIdToken ) { if ( ! willRetrieveUserInfo ( ) || accessToken == null ) { return false ; } String userInfoStr = getUserInfoFromURL ( clientConfig , sslSocketFactory , accessToken ) ; if ( userInfoStr == null ) { return false ; } if ( ! isUserInfoValid ( userInfoStr , subjectFromIdToken ) ) { return false ; } updateAuthenticationResultPropertiesWithUserInfo ( oidcResult , userInfoStr ) ; return true ; }
get userinfo from provider s UserInfo Endpoint if configured and active . If successful update properties in the ProviderAuthenticationResult