Comments (9)
Couldn't reproduce. Just tested against ruby 1.8/1.9 and Rails 3.2.5 and doorkeeper 0.4.1
Is anyone else having this issue?
from doorkeeper.
I had some more time to look at this today and it appears to be working after a reinstall of the gem so perhaps an issue with my RVM or the initial install.
Apologies for the false alarm / inconvenience.
from doorkeeper.
Actually this is occurring when I specify a scope in my request. If I leave the scope blank it passes through correctly.
curl -i http://localhost:3000/oauth/token \
-F grant_type=password \
-F client_id=id \
-F client_secret=secret \
-F "scope=" \
-F [email protected] \
-F password=password
If I leave scope out or set it to scope=
then it works as expected. When I set scope=public
it fails. In my initializer I uncommented the default_scopes line.
Edit: I verified this in master as well.
from doorkeeper.
Ok. Makes sense. I'll investigate.
Thanks for taking your time debugging it.
from doorkeeper.
Can you test this branch please? https://github.com/applicake/doorkeeper/tree/password-scopes-fix
from doorkeeper.
Looks good, could your merge this into master as well?
from doorkeeper.
Yes, I'll update this today and release 0.4.2 version
from doorkeeper.
Great thanks!
from doorkeeper.
released 0.4.2 and updated master.
from doorkeeper.
Related Issues (20)
- Better support for credential rotation
- Always requiring `redirect_uri` is not compliant to RFC 6749 HOT 2
- NotImplementedError error response must define #exception_class after upgrading to 5.6.7 from 5.6.6 HOT 4
- NoMethodError: undefined method `name_for_response' since v5.6.8 HOT 3
- Doorkeeper::Errors::InvalidRedirectUri Raised When No Redirect URI Set HOT 4
- OpenId Connect - No e-mail information in the SSO response
- How do I know if an application has been authorized by a resource owner? HOT 1
- Regression with Errors in 5.6.8 HOT 5
- Refreshing a token sending scopes separated by `+` does not work HOT 5
- Cleanup job removes not expired tokens HOT 1
- Different access grants return the same access token with `reuse_access_token` enabled
- Removing active_record_options was a breaking change HOT 1
- `Doorkeeper::AccessToken.find_or_create_for` with empty scopes raises NoMethodError HOT 6
- Token revocation error when token contains null byte. HOT 2
- Doorkeeper is loading ActiveRecord too early HOT 1
- AuthorizedApplications returns the date that the _application_ was created, not the date that the _authorization_ was created HOT 2
- Add GitHub Discussions to the project HOT 1
- Doorkeeper appears to be missing a way to validate client configuration before redirecting to the authentication page HOT 1
- Access tokens should be revoked when multiple attempts are made to exchange the same authorization code
- When introspection is disabled we return 200 for authorized clients via basic auth but 401 for authorized clients via bearer auth HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from doorkeeper.