Episodes
YassineDM said almost 3 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

David Kimura PRO said almost 3 years ago on API Authentication with Omniauth :
Adding a domain to the session store seemed to help some people out. Check out https://github.com/omniauth/omniauth-oauth2/issues/58

YassineDM said almost 3 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... :-/

Login to Comment