YassineDM
Joined 8/2/2019
YassineDM said over 4 years ago on API Authentication with Omniauth :
Hi & thx for this tuto... I tried to follow it with the difference that I have Devise + JWT with a (working) custom Devise Strategy, not Devise Token Auth. I am still unable to authenticate with facebook though... :-/. Here is my detailed [explanation](https://stackoverflow.com/questions/57205226/reactjs-web-client-ruby-on-rails-api-server-authentication-with-facebook-g) in Stack Overflow, could you please help me? Looking forward to hearing back from you, YassineD

YassineDM said over 4 years ago on API Authentication with Omniauth :
Thx @kobaltz for your answer, I tried adding the following in `application.rb` but it did not solve the problem for google_oauth2 hybrid auth: ``` config.session_store :cookie_store, key: '_interslice_session', domain: 'localhost' ``` However, as I found a 'workaround' with `provider_ignores_state: Rails.env.development?`, I am now more bothered with the facebook auth problem... :-/