Why is #_=_ appended to the redirect URI? passport facebook
//If #_=_ was appended to the URL:
if(location.hash == '#_=_'){
//Store the "clean" URL in a variable
var cleanURL = location.href.split('#')[0];
//Set the URL to the "clean" URL
location.replace(cleanURL);
};