Spring Boot and OAuth2 social login, unable to get refreshToken
问题 There is a guide how to implement OAuth2 using Spring and Spring Boot https://spring.io/guides/tutorials/spring-boot-oauth2/ I need to store OAuth2 information like accessToken, refreshToken in my database for future use. Right now I can only get accessToken. I can't figure out how to get refreshToken based on this guide. What is the proper way to get refreshToken using approach described in this guide ? UPDATED I have an access to refreshToken in OAuth2ClientAuthenticationProcessingFilter