OKaluzny / spring-boot-security-oauth2-google

Microservice using OAuth 2.0 and OpenID Connect to authenticate into Google and get information to a user.
78 stars 39 forks source link

un-initialized final variables #3

Open alosharma opened 3 years ago

alosharma commented 3 years ago
In class OAuthSecurityConfig, below three variables are not initialized and throwing  errors:

private final OAuth2ClientContext oauth2ClientContext;
private final AuthorizationCodeResourceDetails authorizationCodeResourceDetails;
private final ResourceServerProperties resourceServerProperties;

=> The blank final field oauth2ClientContext may not have been initialized
=> The blank final field authorizationCodeResourceDetails may not have been initialized
=> The blank final field resourceServerProperties may not have been initialized