Haven't seen this question asked, but if something similar, please point me that way!
I learned the fb login from the railscast pro eps (http://railscasts.com/episodes/361-facebook-graph-api?view=asciicast) but can't get the logout to work properly…
Within my rails app, when someone signs up with Facebook, I'm trying to grab their email, name, image, location, bio, website.
I'm using Omniauth Facebook Here is the guide I followed.
The signup works smoothly, I get no errors in the browser or in…
Here's my model
class User < ActiveRecord::Base
def self.from_omniauth(auth)
where(auth.slice(:provider, :uid)).first_or_initialize.tap do |user|
user.provider = auth.provider
user.uid = auth.uid
user.name = auth.info.name
…
I'm relatively new to the RoR community and I'm trying to make a personal profile for each users after their authentications through the original Devise or Omniauth-Facebook. I am sort of stuck on where to go after implementing authentications…
I'm trying to implement facebook login authentication using devise and omniauth, but I got an error during the callback section.
The error goes like this...
> `User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."provider" = ? AND…
Is the provider and uid stored in another table after deleting a user using Devise and Omniauth?
In my Rails 4 app I was trying to integrate Omniauth-facebook with Devise, following the Devise and Omniauth Overview Guide
I successfully logged in…
I am in the process of trying to integrate Omniauth Facebook login with Devise for a Rails application that I'm currently in the early stages of developing. I'm a (very) junior developer, and I've hit a roadblock which I'm unsure how to resolve.
So…
I've set up a rails project using devise and omniauth-facebook. It works but I can only access certain information using user.email =auth.info.email || "" etc.
I'm pretty new to this, especially JSON so I'm wondering is there a quick and easy way to…
I am using Devise and omniauth-facebook to do Facebook login for my website. This is defined in an config/initializers/devise.rb:
config.omniauth :facebook, app_id, app_secret, scope: 'email'
For my website, I need the email address only. However,…
I'm using paperclip to store pictures on Amazon S3.
It works fine if I upload via a normal form, but I also want to set users' profile pictures to their facebook picture by default if they are registering with facebook via omniauth.
It sets the…
I'm implementing a facebook authentication with client side flow.
After that, I'd like to integrate with the Omniauth framework on backend using the cookies strategy.
The problem is that after login on facebook and try to call the Omniauth callback,…
The code shown below is commonly utilized when integrating the rubygems, Omniauth and Omniauth-Facebook, into a rails app. I need an explanation of this piece of code, line by line.
class User < ActiveRecord::Base
def self.from_omniauth(auth)
…
I am trying to set up a Facebook Developer account. According to this, I need to visit the Facebook Developers homepage and then click the "Register Now" button at the top. However, that button doesn't seem to show up. I have tried going to that…
My application is authenticating users with the omniauth-facebook gem version 1.6.0. It seems that sometimes within the facebook action in the OmniauthCallbacksController, the request.env["omniauth.auth"] hash will have nil values for provider and…
i have a problem using omniauth-facebook. i tried to login in my rails app using facebook but its giving me an error and the env['omniauth.auth'] is throwing a nil value
here is the error..
NoMethodError at /auth/facebook/callback
undefined…