Tagged Questions
6
votes
1answer
1k views
Rails Google Client API - unable to exchange a refresh token for access token
After struggling with some SSL issues on my machine, I'm still trying to access a user's Blogger account through the Google Ruby Client API. I'm using the following:
Rails 3.2.3
Ruby 1.9.3
oauth2 ...
5
votes
1answer
2k views
Rails - Facebook with Omniauth and Koala: How to renew an expired token
I have an application where users can link their Facebook accounts. They can log in using their email, but they can link their Facebook account.
In the view where I show the linked social networks ...
5
votes
1answer
373 views
Rails authentication strategy for noob
Hope this is not too broad but after a lot of googling I am not sure where to start. I am looking for a introductory/noob overview to help me get started on building an authentication implementation ...
2
votes
2answers
184 views
Cannot get oAuth2 Access Token for Google Analytics API
I am using Rails + Garb Gem (Sija Branch) + omniauth-google-oauth2 Gem and I can successfully authenticate with the Google Analytics API and extract data that our app is generating when using a user ...
2
votes
1answer
140 views
Devise token_authenticatable without session cookies
I'm using Rails 3 and I've succesfully built a web api. For a bunch of controllers login is required so i decided to use Devise and token_authenticable. It IS working but not quite as I was expecting: ...
1
vote
1answer
105 views
Client Secret vs Access Token Rails Instagram API
I'm learning Ruby on Rails and I'm trying to implement Instagram API.
I'm reading through documentation https://github.com/Instagram/instagram-ruby-gem and in the configuration portion it says to put ...
1
vote
1answer
227 views
Sharing things in facebook using fb_graph gem
I'm trying to share in facebook while creating the content using fb_graph(2.6.0) gem,
i'm getting following errors while trying :
app = FbGraph::Application.new(APP_ID, :secret => APP_SECRET)
...
1
vote
0answers
69 views
How to check if google user has already made an account with my site?
In my site users are able to sign-up with their google accounts. I am able to do that just fine and I store their access token and when the access token expires. Also I get a new token if their ...
1
vote
1answer
45 views
Rails - how to retrieve user's access_token from Facebook API
When a user will sign up to my app through Facebook, I would like to display all his pages which he manage.
This is how I save data from FB API:
def self.create_user_from_facebook(auth_hash)
...
1
vote
0answers
127 views
Koala: Facebook fresh OAuth code invalid or expired
everybody.
I'm working with a simple Facebook authentication system on my platform (with Rails and Koala) and it's almost working as expected. But there's this one critical bug that's driving me nuts.
...
0
votes
1answer
119 views
Omniauth with facebook tokken
i got a question that I' using omniauth to authenticate my user to facebook. I get their access token through gem 'omniauth-facebook' and save it in the dabatase, i want to ask that is that the access ...
0
votes
0answers
86 views
Rails + FbGraph - cannot retrieve access_token
This is my controller for authentication through Facebook:
class UserOauthController < ApplicationController
def create
@client = self.auth(facebook_login_path).client
...
0
votes
1answer
78 views
Obtain access token on Rails
I use devise for authentication on Rails. Currently I'm testing some POST functions for the APIs and I want to do that with cRUL, so I need access token to get approved by devise. Then I can use cURL ...
0
votes
1answer
149 views
Rails: How can I check if the access_token is expired?
I'm writing an api for an android app with rails. Since I'm new to both rails and android, I cannot figure the access_token stuff out.
I have a Token model, each time the user logs in, a new ...
0
votes
0answers
271 views
401 Unauthorized access for Github API (Rails)
I have generated the access_token by using the URL provided by GitHub. I am able to do all the GET operations on the api with the URL. What i really wish to do is the POST operation. I wish to create ...