Omniauth - Display facebook connect as popup

前端 未结 4 362
忘掉有多难
忘掉有多难 2020-12-31 08:44

I am using Omniauth and forcing /auth/facebook to display in a popup (with JS). [Instead of a new window - which is much less user friendly]

The problem is: Omniauth

4条回答
  •  有刺的猬
    2020-12-31 09:33

    Actually, in the current version of omniauth-facebook, this is what works for me:

    :authorize_params => { :display => 'popup' }
    

提交回复
热议问题