tut-spring-boot-oauth2 icon indicating copy to clipboard operation
tut-spring-boot-oauth2 copied to clipboard

Error after auth via GitHub, while running last (custom-err) SocialApplication.

Open fradkinshtein opened this issue 4 years ago • 1 comments

[invalid_token_response] An error occurred while attempting to retrieve the OAuth 2.0 Access Token Response: Error while extracting response for type [class org.springframework.security.oauth2.core.endpoint.OAuth2AccessTokenResponse] and content type [application/json;charset=utf-8]; nested exception is org.springframework.http.converter.HttpMessageNotReadableException: An error occurred reading the OAuth 2.0 Access Token Response: tokenValue cannot be empty; nested exception is java.lang.IllegalArgumentException: tokenValue cannot be empty image

It is because my Name in Github was empty - null.

fradkinshtein avatar Sep 17 '21 18:09 fradkinshtein

yeah how to solve it ?

XiaoChuangYi avatar Jul 27 '22 03:07 XiaoChuangYi