My application used to work fine during the development. But when it is being deployed environment without internet it started to complain because of spring-security-oauth2 sche