grab-tokens-github-oauth-login
<script type="text/javascript">
$appid = getUrlVar('login');
console.log($appid);
$appkey = getUrlVar('code');
console.log($appkey);
if($appid != '' && $appkey != '')
{
$('#auth-keys').html('');
$appid_link = '<li><strong>x-appid</strong> - ' + $appid + '</li>';
//console.log($appid_link)
$appkey_link = '<li><strong>x-appkey</strong> - ' + $appkey + '</li>';
//console.log($appkey_link)
$auth_html = '<ul>' + $appid_link + $appkey_link + '</ul>';
$('#auth-keys').html($auth_html);
$('#auth-header').html('Authentication (AUTHENTICATED)');
}
</script>