royclarkson / spring-rest-service-oauth

A simple OAuth protected REST service built with Spring Boot and Spring Security OAuth
Apache License 2.0
664 stars 339 forks source link

Refresh token request doesn't work, when used with Spring Security OAuth 2.0.14 #56

Closed saeedcs closed 5 years ago

saeedcs commented 5 years ago

Refresh token request doesn't work, when used with Spring Security OAuth 2.0.14 (again)

Server returns: {"error":"server_error","error_description":"UserDetailsService is required."}

Server log: TokenEndpoint -> Handling error: IllegalStateException, UserDetailsService is required.

saeedcs commented 5 years ago

deleting the old tokens from the db and retrying fixed it