From: | Dan J. |
Sent on: | Friday, June 26, 2015, 9:47 PM |
Hi Dan,Normally, OAuth, where a User must enter their credentials and grant access, is a redirect processes and not suited for XHR based flows. And this could explain why `www.facebook.com/dialog/oauth` does not support CORS, since it's not supposed to be used in this manner.While I don't know if Facebook supports an XHR based authentication, it seems that the omniauth gem you are using may not be configured for this type of use.On Fri, Jun 26, 2015 at 9:01 PM, Dan <[address removed]> wrote:I'm calling from React client with ajax to /auth/facebook which is the route provided by Omniauth. Omniauth should call facebook login and return to /auth/facebook/callback where I pick up.Best,Yung--* * *damncarouselyung.kwon@ | damncarousel.com | github.com/nowko. 646/462/3829
--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Yung H Kwon ([address removed]) from NYC.rb.
To learn more about Yung H Kwon, visit his/her member profile
To report this message or block the sender, please click here
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages
Meetup, POB 4668 #37895 NY NY USA 10163 | [address removed]