Я использую следующие и следующие библиотеки:
spring-boot: 1.5.4
spring-security - 3.2.7
spring-oauth: 2.0 .7
spring-boot-starter-data-mongodb: 1.5.4
spring-data-mongodb: 1.10.4
Когда я пытаюсь получить oauthtoken, используя этот POST url: http://localhost: 8080 / oauth / token? grant_type = password & username = abc & password = xyz & client_id = testing & client_secret = testing using postman Я получаю эту ошибку:
{
"error": "server_error",
"error_description": "No converter found capable of converting from type [com.mongodb.BasicDBObject] to type [org.springframework.security.oauth2.provider.OAuth2Authentication]"
}
Пожалуйста, помогите
С уважением
Крис