Coder Social home page Coder Social logo

bookmarks's People

Contributors

joshlong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bookmarks's Issues

Getting oauth token doesn't work with Spring Boot 1.1.6+

I dont know why. But just clone this repo and checkout master.
There are spring-boot-starter-parent version 1.1.7.RELEASE in pom.xml.
Start the server and try to curl -X POST -vu android-bookmarks:123456 http://localhost:8080/oauth/token -H "Accept: application/json" -d "password=password&username=rwinch&grant_type=password&scope=write&client_secret=123456&client_id=android-bookmarks"
The response is {"error":"invalid_grant","error_description":"Bad credentials"}

If I enable DEBUG level logs then I see o.s.s.a.d.DaoAuthenticationProvider - User 'rwinch' not found error in server logs.

But if I set the Spring Boot version to 1.1.4 then all is ok.
1.1.4, 1.1.5 - OK.
1.1.6 - server doesn't start at all with NPE.
1.1.7, 1.1.8 - User 'rwinch' not found.

I understand that maybe this problem with Spring Boot itself. But maybe just some uncompatible changes within it and we need just small changes in this project (some annotation or something). But with my knowledge of Spring (or absence of it :) ) I can't investigate more deeply.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.