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

omniauth with authlogic issue with authentications method

I've been following this tutorial: http://emumair.wordpress.com/2011/03/17/social-network-authentication-with-omniauth-and-authlogic/. I've walked through it all and I'm getting this error: undefined method `authentications' for…
0
votes
2 answers

rails 3 omniauth SSL error

I'm trying to implement OmniAuth for Facebook in tandem with AuthLogic. I'm currently getting the following error: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed I've tried the solution shown here:…
turbo2oh
  • 2,849
  • 6
  • 34
  • 46
0
votes
1 answer

Omniauth devise with username

On using Omniauth and devise, for signing up or registrations we have Email,Password & Password Confirmation as default field, is it possible to have username, password and email and not the default one.
Thillai Narayanan
  • 4,766
  • 5
  • 32
  • 39
0
votes
1 answer

local host callback url something like "lvm3000.com"

I'm trying to set up authentication on a local host and need a url, but third parties don't recognize localhost:3000. I think I remember that someone found a solution to this problem by registering a domain that points to the local host ip address.…
Leahcim
  • 40,649
  • 59
  • 195
  • 334
0
votes
2 answers

Omniauth + Devise Error: Could not find hashie-1.2.0

I add this to Gemfile: gem 'omniauth-facebook' Then I run bundle update. No problem so far. But when I run rails server I get this error: Could not find hashie-1.2.0 in any of the sources Run `bundle install` to install missing gems. I thought…
Tim Scott
  • 15,106
  • 9
  • 65
  • 79
0
votes
1 answer

FbGraph cannot update status

I wrote a Rails application. I used omniauth for authentication. session.rb auth = request.env["omniauth.auth"] user = User.find_by_provider_and_uid(auth["provider"], auth["uid"]) || User.create_with_omniauth(auth) session[:user_id] =…
eayurt
  • 1,169
  • 1
  • 19
  • 42
0
votes
2 answers

can omniauth-google-oauth2 be used also to get calendar info back from the google calendar API?

Can omniauth-google-oauth2 be used also to get calendar info back from the google calendar API? I have managed to so far to get: a) omniauth-google-oauth2 test rails app working to "sign on with google" in test app 1 b) OAuth Plugin to get calendar…
Greg
  • 34,042
  • 79
  • 253
  • 454
0
votes
2 answers

Facebook OmniAuth Devise

Im using rails 3 with devise and omniauth-facebook, I click on the "Login with facebook link", it redirects me to facebook page of my app, I login with my facebook credentials, it redirects me back to my Rails app successfully, and it also added my…
Francois
  • 10,465
  • 4
  • 53
  • 64
0
votes
1 answer

Using user's token to make requests to Twitter API in Rails

I'm using Omniauth to get credentials from Twitter for a specific User. Part of the OmniAuth object that I get is like this: credentials=# extra=#
Nobita
  • 23,519
  • 11
  • 58
  • 87
0
votes
1 answer

Rails3 and Omniauth-google

I've just got into using Omniauth for logging in with Twitter and Facebook and that's all working great. Then I started to work with Omniauth-google and couldn't find out where I signup to get my CONSUMER_KEY and CONSUMER_SECRET. Where do I sign up…
map7
  • 5,096
  • 6
  • 65
  • 128
0
votes
1 answer

Origin of OmniAuth - Where was /auth/facebook called from

I'm using OmniAuth as a way to let users link their social networks into a system. So I have the common match '/auth/:provider/callback', to: 'authentications#create' in my routes. This is fine, and I store that info for a particular user in a…
Nobita
  • 23,519
  • 11
  • 58
  • 87
0
votes
2 answers

Omniauth and Foursquare not working

So I'm using Omniauth to authenticate with the likes of Twitter and Foursquare. Twitter works fine, but Foursquare doesn't appear to return a secret. Anyone know what's going wrong? Here's the create action in the controller, Foursquare is passing…
Synthesezia
  • 291
  • 2
  • 12
0
votes
2 answers

RoR omniauth and facebooker2

In a new application Rails 3.1 with only in Gemfile: gem "omniauth" gem "facebooker2" bundle install give the error: Bundler could not find compatible versions for gem "hashie": In Gemfile: facebooker2 (= 0.0.16) ruby depends on …
David Sedeño
  • 495
  • 1
  • 6
  • 19
0
votes
1 answer

rails project using omniauth - stuck on evaluating nil.[] error

I am using omniauth on my rails project to authenticate with facebook. I am also trying to get the user's current city from omniauth, and that works great when the user has their current city in facebook. extra: user_hash: name: Jeff Turner …
jtwg
  • 140
  • 1
  • 3
  • 11
0
votes
1 answer

Salesforce error - "invalid cross reference id"

I am developing a Rails app using OmniAuth, OmniAuth-salesforce and this gem: https://github.com/heroku/databasedotcom I am hardcoding the "client_id" and "client_secret" into my app. Then for each user that authenticates with Saleforce, I am…
Matt Fordham
  • 3,147
  • 10
  • 34
  • 51