OAuth Support

This commit is contained in:
2011-06-29 11:38:05 +01:00
parent c96d059f04
commit b2dbea0f5f
9 changed files with 216 additions and 15 deletions

View File

@@ -19,6 +19,9 @@
{% if "groups"|installed %}
<li><a href="{% url groups.views.group_list %}">Groups</a></li>
{% endif %}
{% if "api"|installed %}
<li><a href="{% url oauth-list-tokens %}">Application Access</a></li>
{% endif %}
{% if "hr"|installed %}
<li><a href="{% url hr.views.index %}">HR</a></li>
{% endif %}

View File

@@ -8,6 +8,9 @@
<p>You have come here because you are in the process of allowing a external application to access your private Auth data. If you are not, then please close this window. Otherwise, please confirm below if you wish to give access to your private Auth data. This can be revoked at any time from the main Auth panel.</p>
<p><b>{{ consumer.name }}</b></p>
<p>{{ consumer.description }}</p>
<form action="{% url piston.authentication.oauth_user_auth %}" method="POST">
<table>
{{ form.as_table }}