Questions tagged [omniauth]

OmniAuth is a flexible Ruby authentication library that standardizes multi-provider authentication for web applications

OmniAuth is a flexible authentication system for Ruby applications utilizing Rack middleware, such as Rails applications. It supports a large number of external authentication providers, such as Facebook, Google, and Twitter.

2360 questions
0
votes
1 answer

Rails: OAuth gem dependency error w/ bundler?

Trying to start the server and I'm getting this: /Users/Ross/.rvm/gems/ruby-1.9.2-p180@webapp/gems/ruby/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in `require': no such file to load -- addressable/uri (LoadError) from…
Ross R
  • 387
  • 1
  • 5
  • 21
0
votes
4 answers

Make local development work with Facebook/Google APIs

I'm working on implementing omniauth into a Rails project. My problem is that the authentication providers - Twitter, Google, Facebook etc all require me to create an application with a url that limits authentication requests from anywhere other…
Undistraction
  • 42,754
  • 56
  • 195
  • 331
0
votes
1 answer

Undefined local variable or method error in OmniAuth

I'm following this tutorial. I'm stuck in Step 4: Step 4: Creating the Login Page Let’s create our sessions controller. Run the following code in your terminal to create a new sessions controller, and the new, create, and failure actions. rails…
alexchenco
  • 53,565
  • 76
  • 241
  • 413
0
votes
2 answers

unexpected result following a tutorial (omniauth twitter) No route matches [GET] "/auth/twitter"

I followed this guide step by step: http://railscasts.com/episodes/241-simple-omniauth When I click the button that would take me on twitter, the result is this: No route matches [GET] "/auth/twitter" I made ​​several attempts, watching the video…
Angelo Iasevoli
  • 100
  • 1
  • 6
0
votes
1 answer

Devise + Omniauth / Passing partial info into Omniauth Controller for redirect

My Devise + Omniauth setup currently uses the following path to log a user in using Facebook: user_omniauth_authorize_path(:facebook) I have a partial that displays a list of items, each item having a link that: 1) logs the user in with the above…
neon
  • 2,811
  • 6
  • 30
  • 44
0
votes
1 answer

Omniauth+Devise+Facebook = An error occurred. Please try again later

I followed these instructions verbatim: https://github.com/plataformatec/devise/wiki/OmniAuth:-Overview config/initializers/devise.rb: require "omniauth-facebook" config.omniauth :facebook, "xxx", "yyy", :scope => 'email,offline_access,read_stream',…
John R
  • 301
  • 3
  • 14
0
votes
1 answer

Passing custom information in an Omniauth request

I'm currently implementing an omniauth solution for an app that will initially be in an invite only mode.  I can restrict the UI so that a person cannot see the registration screen from which omniauth could be activated unless they have a valid…
Chris Dellinger
  • 2,292
  • 4
  • 25
  • 33
0
votes
1 answer

dependency between oauth and sorcery

How to solve this dependency problem. I`m using sorcery to administration and I dont need oauth2(0.4.1). Bundler could not find compatible versions for gem "oauth2": In Gemfile: omniauth-facebook (>= 0) ruby depends on oauth2 (~> 0.5.0)…
tomekfranek
  • 6,852
  • 8
  • 45
  • 80
0
votes
3 answers

Omniauth - set custom param in redirect url

I'm using latest (1.0.1) version of Omniauth with rails 3.1.3. Right now, I'm using omniauth with 37signals strategy. I would like to pass custom argument ("state" parameter) depending on auth url (eg. http://localhost:3000/auth/37signals/5 should…
user1105595
  • 591
  • 2
  • 8
  • 20
0
votes
1 answer

Signin error in Devise with Omniauth for facebook and twitter authentication

I need some clarification with Omniauth for facebook and twitter. I m using Devise to authenticate users. I followed http://railscasts.com/episodes/236-omniauth-part-2 and http://railscasts.com/episodes/235-omniauth-part-1 to implement Omniauth with…
Raji
  • 845
  • 1
  • 14
  • 22
0
votes
1 answer

Devise no session routes on :token_authenticatable

I use token authentication in Devise (I think; using omniauth-facebook). Earlier this week, I had trouble getting my routes without the "token" option. But now, the token-auth module is still there, but the routes (destroy_user_session, etc.) are…
Jonathan Allard
  • 18,429
  • 11
  • 54
  • 75
0
votes
1 answer

Is the news.reads action on the Open Graph available yet?

I'm having the same issue as described in this post: How to get the built in news.reads action to publish to Facebook? I noticed this question was posted way back in October. Is this feature still in beta or is it available now? If it's still in…
bodacious
  • 6,608
  • 9
  • 45
  • 74
0
votes
1 answer

Login with gmail and OmniAuth in rails 3

I am trying login with gmail and OmniAuth in rails 3. I am following http://hoisie.com/2011/09/12/using-google-oauth-with-omniauth/ this post. I added gem 'omniauth' in my gem file. Create omniauth.rb inside initializers. Replace the oauth_secret…
vinothini
  • 2,606
  • 4
  • 27
  • 42
0
votes
1 answer

Gettitng twitter email with devise omniauthable

Can i get in params twitter email using devise :omniauthable? I can get facebook email and create user with this method: def self.find_for_facebook_oauth(access_token, signed_in_resource=nil) data = access_token['extra']['user_hash'] if user =…
dom1nga
  • 167
  • 1
  • 7
0
votes
1 answer

Followed The Google OmniAuth tutorial but getting rejected from Server, how to read the rejection notice

This is the tutorial I followed. Scroll down to the Google open-id integration: https://github.com/plataformatec/devise/wiki/OmniAuth:-Overview On the server I get the following rejection message after clicking the login with google link: WARNING:…
LennonR
  • 1,433
  • 18
  • 35