title: Can't logout from facebook in ios app swift (Firebase Authentication + Facebook)
body: <p>I am using firebase authentication and database for user signup/login in my application. Facebook login is successfully integrated in my app and working well. Now I am trying to logout from app. Again trying to login with diffrence account but it still display app permission screen in webview. Inshort I <strong>can't logout completely</strong>. I want to login with diffrence account.I can't login with another account untill delete/uninstall the app.</p>
  
  <p><strong>What I tried out:</strong></p>
  
  <p>-Clear the session</p>
  
  <p>-Firebase signout method called</p>
  
  <p>-facebook logout method called</p>
  
  <p>-also logout from safari and facebook app which is installed in my device.</p>
  
  <p>-Delete the app permission programmatically</p>
  
  <p><strong>Here is my code:</strong></p>
  
  <pre><code> FBSDKAccessToken.setCurrent(nil)
  
   FBSDKLoginManager().logOut()
  
    try!  Auth.auth().signOut()
  </code></pre>
  
  <p><strong>also tried:</strong></p>
  
  <pre><code>   let deletepermission = FBSDKGraphRequest(graphPath: "me/permissions/", parameters: nil, httpMethod: "DELETE")
          deletepermission?.start(completionHandler: { (connect, result, error) in
              print("the delete permission is \(result)")
          })
  </code></pre>
  
  <p><strong>Still it shows this screen after logout, when try to again login:</strong></p>
  
  <p><a href="https://i.stack.imgur.com/Mr1RR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Mr1RR.png" alt="enter image description here"></a></p>
  
  <p>It sucks me I don't know what I forgot here or something issue while try to logout from facebook with firebase.</p>
  
  <p>Please help/suggestion</p>
  
  <p>Thanks in advance.</p>