I have omniauth-facebook to sign up/sign in. After signin, I want to redirect the user to the page where they hit the auth block. I'm using sign_in_and_redirect but it seems to be calling the last url, which in this case is…
I have been struggling for a long while trying to determine the correct approach to use the omniauth-facebook gem.
I am running my API on port 3001 while my frontend (in my case coded on ReactJS) is running on port 3000. As per what I have been…
Creating a Rails API using Devise_token_auth gem and trying to make it omniauthable to be able to login through google and facebook. Following this :- github. This error has been registered with no solution yet Here .
My error :-
`Started POST…
I'm using omniauth-facebook gem & devise gem to accomplish the facebook login on my site (Rails website).
When using facebook login, I'll request email field and save it in my database. Everything works fine so far. But I found there are two…
I cloned example facebook integration
this repo to see how the omniauth-facebook works. I setup my own app_id and app_secret from my facebook app.
The problem is the facebook login doesn't works.
It throws an error: "Insecure Login Blocked: You…
I read previous possible questions that may have the answer but that not what I asked for.
First of all I am start to use test. However I already successful setup Omniauth-facebook for my App but still like to go back and…
I'm integrating Facebook with my app by following this link, everything works fine until I try to login via Facebook.
Then I'm keep on getting this error
This is my Facebook app setup:
I've tried several different ways of changing the app domain…
I'm using the omniauth-facebook gem with devise. It was working until recently. I also recently upgrated to Rails 5.0.1 from Rails 4, but I'm not sure that's the cause.
I currently have 0 users, and I'm logged into Facebook. But when I try to sign…
I am setting up the login/registration with facebook (devise), but as other people, I have no luck to make it working. I have read lots of posts and articles from other people and went through the settings several times, but still the same results.…
I'm stuck with integrating devise with omniauth-facebook
My demo app is using:
Rails 5
Devise
Pundit
OmniAuth (omniauth-facebook)
I followed the following guide on the Wiki page: https://github.com/plataformatec/devise/wiki/OmniAuth:-Overview but…
I am starting with using omniauth with devise User model. Integration works well but a case is failing.
This is related code from omniauth callback controller:
class OmniauthCallbacksController < Devise::OmniauthCallbacksController
before_action…
So I've attempted to add OmniAuth to my Rails app, which currently uses Devise + Pundit for authentication and authorization. I have added a "Log in with Facebook" button and configured it so it pops up a Facebook login window. However, after you…
I can't get devise omniauth-facebook to work. I've followed the devise guide to no avail. I think my problem is the model is not retrieving info.
Model
class User < ActiveRecord::Base
has_attached_file :image, styles: {large: "1920x1080#", medium:…
My facebook app setup only works on my localhost, but not the heroku site.
I get this error on heroku logs.
ERROR -- omniauth: (facebook) Authentication failure! no_authorization_code: OmniAuth::Strategies::Facebook::NoAuthorizationCodeError,…