title: Satellizer and Facebook login
body: <p>I'm using rails and angular to build an app. I'm using satellizer to login in the app.</p>
  
  <p>Here is my devise configuration:</p>
  
  <pre><code>config.omniauth :facebook, "xxx1", "secret", :strategy_class =&gt; OmniAuth::Strategies::Facebook
  </code></pre>
  
  <p>On JS side:</p>
  
  <pre><code>$authProvider.loginUrl = '/users/sign_in';
    $authProvider.facebook({clientId: 'xxx1', url: '/users/auth/facebook', type: '2.0'});
  </code></pre>
  
  <p>When i choose login with fb a popup appears, then i authenticate, and finaly when the popup is close i got this error:</p>
  
  <pre><code>XMLHttpRequest cannot load https://graph.facebook.com/oauth/authorize?response_type=code&amp;client_id=804…allback&amp;state=c2131db90c6208181da224094bc2043ac43be5507bc2be8a&amp;scope=email. A wildcard '*' cannot be used in the 'Access-Control-Allow-Origin' header when the credentials flag is true. Origin 'http://localhost:3000' is therefore not allowed access. 
  </code></pre>
  
  <p>Do you have any idea?</p>
  
  <p>Thanks in advance.</p>
  
  <p>Regards,</p>