Tagged Questions
0
votes
0answers
6 views
Redirect after log in through Facebook rails app
I am working with a Rails app with Facebook authenticaion. Only problem is that after going through the authentication part on facebook, the app redirects the User to the log in page of my app. I ...
0
votes
1answer
5 views
How to build a Rails REST API with 2-legged OAuth?
I've been struggling for two days with OAuth and RSpec to get a properly tested RESTful API using a 2-legged OAuth authentication so I thought about posting it here and prevent more pain to happen.
...
0
votes
0answers
19 views
Rails Dwolla gem trying to assign “address”?
I'm using omniauth/dwolla to get a user's dwolla ID for storing in my Rails database. According to my Gemfile.lock, the gems are dwolla (0.0.15) and omniauth-dwolla (0.0.13).
When I try to call ...
0
votes
1answer
73 views
Twitter search API: “Unauthorized” through HTTParty but successful via Curl
Working on our Rails application, I'm trying to retrieve tweets using the search API v1.1 through HTTParty. I've carefully gone through all steps and unit tested our code with the Twitter examples to ...
0
votes
0answers
22 views
User Authentication with Rails App
I have two Rails apps, and I would like to accept user login credentials from one app (say App A) in another (say App B). For the app that's accepting login credentials (App B), I think the best ...
0
votes
2answers
76 views
Login with facebook on native android app and send access token to remote server
I'm new to oauth concept. I'm working on an android app which uses facebook login to authenticate. After the authentication is done I want to send the access token to my remote server and make API ...
0
votes
1answer
32 views
Omniauth-twitter in rails: OAuth::Unauthorized 401
I have been road blocked for 2 days on basic omniauth authentication with twitter. I followed along with Ryan Bates' railscast on simple omniauth, but have been unable to get past the ...
1
vote
0answers
40 views
Google OAuth access tokens
I'm so confused by OAuth and Google. It took me forever to get the refresh_token to create a new access_token. Then to find out the refresh_token expires too?? What is the point of that!!!??
All I ...
0
votes
0answers
33 views
Google Oauth and Invalid Credentials
For the past week or two we've had issues signing users via Google Oauth. The user when redirected to Google if already logged in via Gmail is redirected back to our site with the following url.
...
0
votes
3answers
76 views
How do I get data from this object?
Here's the object that's returned. I ultimately need to get two things: @token and @expires_at. How would I get them from this?
@my_object = access_token(params[:provider])
Then outputs:
...
0
votes
1answer
31 views
Sign in and sign up functionality using oauth
Hello I want to perform functionality like sign in or sign up with facebook using oauth2.
I have generated the consumer controller for oauth and could successfully consume the services provided by ...
0
votes
0answers
67 views
Grape API and OAuth
I'm working on creating API for my rails application using Grape framework. I'm trying different authentication possibilities. Can someone give a simple example of using OAuth for authentication?
2
votes
1answer
58 views
Is it possible to use a single Yammer API Key across multiple Networks
I have generated an Yammer API key within a network and the API key is working for read/write data across this network. But when I try to use the same API key to access data from a different network ...
0
votes
0answers
45 views
Ruby on Rails how to not lose user input after using oauth authentication
I am working on a Ruby on Rails app that someone else wrote, and the client now wants changed it with a specific flow of picture creation. The flow goes like this:
User goes to ...
0
votes
1answer
32 views
Updating data of users authenticated via OmniAuth
I have a Rails app using the Omni-Auth GitHub gem. User account creation and signin via GitHub works flawlessly!
Here's my User model:
def self.from_omniauth(auth)
...