title: Facebook authentication in a UIWebView does not redirect back to original page on my site asking for auth
body: <p>In our iOS app, we have a UIWebView that shows web content on our domain that has a Facebook comment module. The comment module requires that the user is signed in with facebook. When user clicks on the sign in button, they are taken through the sign in flow, but are never redirect back to our page. They end up on an FB owned page that just tells the user "You are now signed in".</p>
  
  <p>Repro steps:</p>
  
  <ol>
  <li>Create a UIWebView in an iOS app, and host a Facebook comment module on a page hosted on some domain you own (e.g. <a href="http://foo.com/test.htm">http://foo.com/test.htm</a>).</li>
  <li>Click on the Sign In button on the comment module and notice you are redirect to FB sign in.</li>
  <li>Sign in with valid FB credentials and observe what happens.</li>
  </ol>
  
  <p>After you sign in (step 3) I would expect that after a successful authentication, you are redirected back to the original page (e.g <a href="http://foo.com/test.htm">http://foo.com/test.htm</a>) so you can continue your interaction.  However, this isn't happening.</p>
  
  <p>Instead, you are on an FB owned page that just says something like "You are now signed in" and you are trapped there. No redirect happens.</p>
  
  <p>Is this indeed a bug or is there something else I should be doing to ensure the redirect happens?</p>