Custom authentication provider and user details service were added for Spring Security authentication process via oAuth2.0