Questions tagged [omniauth-facebook]

Facebook OAuth2 Strategy for OmniAuth.

Facebook OAuth2 Strategy for OmniAuth.

Useful links

247 questions
0
votes
1 answer

Configuring avatar image sizes using Omniauth Facebook

Right now I'm trying to save large images for a user's avatar using Omniauth Facebook and Paperclip. It appears that after the user is created only the smallest image size is saved. I did some research and came across an answer that said to pass…
Carl Edwards
  • 13,826
  • 11
  • 57
  • 119
0
votes
1 answer

How to save the request.referrer for facebook omniauth in Rails 4

I have two facebook buttons in my application. One on users/sign_up and other on /visitors/owner-faq. I want to save the request.referrer in order to know from which page the user has signed up. I had implemented the same for external signup(which…
Pavan
  • 33,316
  • 7
  • 50
  • 76
0
votes
1 answer

what s wrong with my authentication system in the actual heroku app?

I tried to implement logging and sign up with devise, omniauth and facebook. Now it looks like the facebook implementation works but whenever I try to log in the hroku site through facebook, it renders an error and says: "Check your logs. Here are…
codigomonstruo
  • 1,081
  • 1
  • 11
  • 45
0
votes
1 answer

Custom devise omniauth-facebook strategy

I'm using omniauth-facebook gem for facebook authentification and registration. When you complete registration with facebook, it automatically creates password for you. I want when omniauth get all needed data - automatically redirect to page where…
Src
  • 5,252
  • 5
  • 28
  • 56
0
votes
1 answer

CSRF detected using OmniAuth-facebook, warden_ominiauth, warden run in cygwin

I been facing this problem recently. I receive this error in my browser. In my cygwin it keep redirect me and end up showing ERROR -- omniauth: (facebook) Authentication failure! csrf_detected: …
Dennis
  • 130
  • 1
  • 6
0
votes
1 answer

omniauth-facebook user profile becomes the admins' picture

I integrated the omniauth-facebook gem with gem into my website and added some Facebook friends as testers for my app but every time someone signs in using Facebook my picture as an admin gets persisted as their picture. The strange thing is that…
0
votes
1 answer

No 'Access-Control-Allow-Origin' header is present on the requested resource Ruby on Rails 4, Jquery Mobile

I am using Jquery Mobile, Ruby on Rails 4 and Omniauth-facebook. When I click on Sing in by Facebook I get this in my console: omniauth: (facebook) Request phase initiated. This is stuck. I checked browser console and it showed me this…
Sonali Gupta
  • 288
  • 1
  • 5
  • 17
0
votes
1 answer

rails login facebook api debug

I'm using devise and omniauth-facebook authentication in my rails application. Facebook has moved on to v2.x graph API. (deadline for api migration is April 30, 2015). I configure my omniauth-facebook in initializer file as: provider :facebook,…
0
votes
1 answer

Omniauth Facebook Avatar

Trying to pull the avatar from Facebook but nothing seem to be loading. I think I accessing the Auth Hash correctly. Searching did not come up with much. User.rb def self.find_for_oauth(auth, signed_in_resource = nil) # Get the identity and user…
JMP
  • 557
  • 1
  • 6
  • 17
0
votes
2 answers

Omniauth Facebook Devise fails production Heroku but works in development

I developed this app on Nitrous.io (using a heroku postgresql DB). Omniauth works correctly when tested on that platform. When I try on production Heroku, I get a "The parameter app_id is required" error from facebook. inside…
0
votes
1 answer

Facebook Connect - The parameter app_id is required

I try to install FB Connect on my website ChercheAvocat (Rails 3), but after clicking on the link "Sign in with Facebook" I have an error " The parameter app_id is required". URL …
0
votes
2 answers

using omniauth how to change callback path dynamically

I want to change omniauth callback url dynamically. but I don't know how to change dynamically. I hope change when put path on view, not config loaded. like this - if @is_android - callback_path = omniauth_authorize_path(resource_name, "facebook",…
0
votes
0 answers

Adding Facebook authentication to devise User model in rails

I have been trying to add facebook authentication to my devise Customer model. While the login link does redirect to the facebook app link, after clicking login it redirects me to my sign up page, and the customer is not persisted in my database at…
Abhas Arya
  • 470
  • 1
  • 5
  • 19
0
votes
1 answer

request.env["omniauth.auth"] returns nil if not called as argument

I'm trying to do a simple omniauth call with facebook. Everything works fine if I capture the request hash like this: def facebook user = User.from_facebook(request.env["omniauth.auth"]) if user.persisted? ... else ... …
Arel
  • 3,888
  • 6
  • 37
  • 91
0
votes
1 answer

Omniauth-Facebook: Re-asking for Declined Permissions

In Facebook login view an user can decline permissions. Perhaps the permissions which were declined affect to the app functionality (you can do less things with this app because some data is not accessible) I would like warn to the user and re-ask…
Fran b
  • 3,016
  • 6
  • 38
  • 65