Files
deb-python-oauth2client/samples/appengine/grant.html
Joe Gregorio 6ceea2de24 Add XSRF protection to oauth2decorator callback.
Also update all samples to use XSRF callback protection.

Reviewed in https://codereview.appspot.com/6473053/.
2012-08-24 11:57:58 -04:00

18 lines
557 B
HTML

<html>
<head>
<title>Can Haz Perms?</title>
</head>
<body>
{% if has_credentials %}
<p>Thanks for granting us permission. Please <a href="/about">proceed to the main
application</a>.</p>
{% else %}
<p><a href="{{ url }}">Grant</a> this application permission to read your
Google+ information and it will let you know how many followers you have.</p>
{% endif %}
<p>You can always <a
href="https://www.google.com/accounts/b/0/IssuedAuthSubTokens">revoke</a>
permission at any time.</p>
</body>
</html>