0

In my omniauth initializer file I have these settings:

provider :facebook, 'a_key', 'another_key',
     :scope => 'email', :display => 'popup'

But when the fb authentication dialog occurs, the login window is still full screen. I thought that the popup option would shrink the window. Is there another setting I need to set?

Andrew Lauer Barinov
  • 5,694
  • 10
  • 59
  • 83

1 Answers1

2

Hey just check carefully how the page is displayed when the :display => 'popup' attribute is present and then remove that and again check how the page is displayed. Check the difference between the views. :display => popup changes the view so that it can be shown in popup.

In order to shrink the window refer this answer Turn omniauth facebook login into a popup

Community
  • 1
  • 1
mandar.gokhale
  • 1,876
  • 1
  • 18
  • 37