Skip to content

Instantly share code, notes, and snippets.

@sallespromanager
sallespromanager / oauth2 client
Created December 7, 2012 14:47
oauth2 client to Oauth2orize server
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>OAuth 2 User Agent Authentication Flow Demo</title>
<script type="text/javascript" charset="utf-8" src="js/bootstrap/jquery.js"></script>
<script type="text/javascript" charset="utf-8">
$(function () {
var extractToken = function(hash) {