-
-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rails3 sample app does not work with oauth_token query param #2
Comments
Ah, sorry. The Rack::OAuth2's README was wrong. The newest bearer token spec doesn't support "oauth_token" at all and use "bearer_token" instead. |
thanks for clarifying. i've been going though lots of oauth examples, and they were using the oauth_token param. according to the spec, the bearer_token should be supported as part of the query string. is this currently supported by the gem? but header and payload work fine. ex: |
Yes, bearer_token in query is supported. |
Ah, perfect. that totally makes sense. I realize that query param is not the preferred solution, and intended to thanks again for the fast response! On Thu, Apr 21, 2011 at 10:30 AM, nov <
|
No problem. Since you use Ruby (= you can use HTTP header), I recommend you to use Authorization header anytime. nov On Apr 22, 2011, at 1:17 AM, wireframereply@reply.github.com wrote:
|
ex:
curl -v -XGET 'localhost:3000/me?oauth_token=VMhkQHqCeJ4IdMJaxF6SzQ=='
The text was updated successfully, but these errors were encountered: