Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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);
};
Source by github.com #
 
PREVIOUS NEXT
Tagged: #Why #appended #redirect #passport #facebook
ADD COMMENT
Topic
Name
1+5 =