Questions tagged [oauth-ruby]
28 questions
15
votes
1 answer
rails omniauth facebook extended permission
I have read the omniauth oauth rdoc
@consumer = OAuth::Consumer.new(key, secret, {
:site => "http://term.ie",
:scheme => :header,
:http_method => :post,
:request_token_path =>…

wizztjh
- 6,979
- 6
- 58
- 92
12
votes
2 answers
How do I connect to Gmail's IMAP server using oauth in Rails3?
I found the gmail_xoauth gem, which does most of what I need, but I also need to generate the oauth tokens (consumer_key and consumer_secret) from inside Rails3.
I am trying to integrate Gmail's oauth integration into my site and hence cannot use…

Asif Sheikh
- 1,065
- 2
- 8
- 18
10
votes
1 answer
Getting an Access Token with OAuth-Ruby and Tumblr API (Rails 3)
I am using OAuth-Ruby to do an OAuth authentication with a Tumblr application. I am able to write code that progresses through the various steps of OAuth, but I cannot get an access token or actually make a request. I can get a request key,…

Morris Singer
- 1,715
- 2
- 18
- 34
5
votes
2 answers
Tumblr API: requesting read-only access
I'm hooking up my application to the Tumblr API, and when I try and authorize I get the message "Grant this application read and write access to your Tumblr account?". I only want read access to users' accounts.
The Tumblr API docs say you can have…

nnyby
- 4,748
- 10
- 49
- 105
4
votes
2 answers
Using Ruby + OAuth to access Yelp API
I just getting started with OAuth, and I tried to make a small client to connect to some webservices... I tried twitter and it worked like a charm, however, I also tried to access Yelp V2 API (following their Python example) but I always get back as…

user361526
- 3,333
- 5
- 25
- 36
3
votes
1 answer
Rails Twitter OAuth Strategy with Devise
I have been searching to figure out how exactly to use the oauthable module in the Devise gem for Rails 3. I have come across a couple of questions on here that seem correct, but I was unable to get the implementation working. My end goal is to have…

John Bellone
- 1,351
- 1
- 16
- 29
3
votes
2 answers
Ruby OAuth Nightmare: Using Contacts API
I've been spending the last few days banging my head against the wall on supporting the ability to add a contact to the Google Contacts API in my Rails 3 application. Despite many false starts, I've finally made some progress by employing the Ruby…

Aaron Vegh
- 5,217
- 7
- 48
- 75
3
votes
1 answer
OAuth Provider Service and Rails 3
I am trying to look into setting up an OAuth Provider Server with Rails 3 but can't seem to find anything out there to accomplish this.
I am also a newb when it comes to oauth, so excuse my ignorance.
When setting up an oauth server do I need to…

dennismonsewicz
- 25,132
- 33
- 116
- 189
2
votes
2 answers
Twitter Authenticate displays Authorize screen and on reload it Authenticates and continues to callback
I am following everything from the documentation:
http://dev.twitter.com/pages/sign_in_with_twitter
I am working on a rails app and this is how my code looks like (code
below uses oauth ruby gem):
@consumer=OAuth::Consumer.new("key" , "secret",…

whizcreed
- 2,700
- 3
- 22
- 35
2
votes
1 answer
OAuth1 reject_token 401 unauthorized
Get Access Token request of OAuth1.0 only work once for Magento1.9 after being redirected back from Authorization URL. Next time when requesting for Access Token I get reject_token.
What I noticed there is difference in signature of both objects'…

Abdul Baig
- 3,683
- 3
- 21
- 48
2
votes
1 answer
oauth2 and trusted sites
is there any possibility to work with trusted sites (for example - sites of one developer) using oauth/oauth2 without confirmation of access to user data?

Alexey Poimtsev
- 2,845
- 3
- 35
- 63
1
vote
1 answer
RequestToken Oauth-plugin 401 Unauthorized
I successfully implemented OAuth using the oauth-plugin gem with Rails 3.0.9. However, once I upgraded to Rails 3.1.3, I'm receiving an error when attempting to get the request token.
I've been testing locally
Rails 3.1.3
oauth (0.4.5)
oauth-plugin…

strukturedkaos
- 56
- 1
- 4
1
vote
1 answer
Google Calendar Data API Integration
We're using Oauth to grab Calendar event data. I have successfully authorized the token and exchange it for an access token. When I perform a get request to the API endpoint I get a page that says "Moved Temporarily" with a link to something like…

user577808
- 2,317
- 4
- 21
- 31
1
vote
1 answer
issue with yql (yahoo api's) using oauth
i am using oauth_util.rb ( https://gist.github.com/383159 ) and my YQL query is
"select * from search.termextract where context=\"#{text}\""
This works where text is a short string, but fails for the longer ones with the following…

Rahul Singh
- 2,032
- 2
- 16
- 17
1
vote
1 answer
How do I use the access token in omniauth for Facebook?
I have set this in the initializer
Rails.application.config.middleware.use OmniAuth::Builder do
provider :facebook , 'app' , 'secret' , {:scope => "manage_pages"}
end
And I have saved the token in User model after the callback.
How do I use the…

wizztjh
- 6,979
- 6
- 58
- 92