Skip to content
Go to file
Cannot retrieve contributors at this time
28 lines (28 sloc) 958 Bytes
<!doctype html>
<html lang="en">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>JwtAuthDemo - Facebook Auth</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="assets/util.js"></script>
// if we don't receive an access token then login failed and/or the user has not connected properly
var accessToken = getParameterByName("access_token");
var message = {};
if (accessToken) {
message.status = true;
message.accessToken = accessToken;
message.status = false;
message.error = getParameterByName("error");
message.errorDescription = getParameterByName("error_description");
window.opener.postMessage(JSON.stringify(message), "http://localhost:5000");
You can’t perform that action at this time.