samedi 7 mars 2015

Spring oauth 2 {"error":"invalid_grant","error_description":"Bad credentials"}

Here is my spring config. I have created a new user in mysql table. It always works with the user client1 but a new user added, it throws, the above error. Also i get Error creating bean with name 'org.springframework.security.authenticationManager': Unsatisfied dependency expressed through constructor argument with index 1 of type [org.springframework.security.authentication.AuthenticationManager]: Ambiguous constructor argument types - did you specify the correct bean references as constructor arguments?


In the spring trace log.



spring-security-oauth2
2.0.6.RELEASE


I use jdbc store mysql


Aucun commentaire:

Enregistrer un commentaire