{% extends "django_admin_oauth_mcp/base.html" %} {% comment %} Where somebody says a client -- Claude -- may use what the admin shows them, ticking what it may read, change and delete in each section, where the admin lets them: django_admin_oauth_mcp.views.AuthorizeView, after the project's sign-in page. Asked every time. The hidden fields carry the OAuth request from the GET to the POST; "allow" is only sent by the button that says yes, and "grant" by each tick. The grid of ticks is django_admin_oauth_mcp/_ticks.html, shared with the page where a connection's ticks are changed later (connection.html). {% endcomment %} {% block head_title %}Connect {{ application.name|default:"an app" }} to {{ title }}{% endblock head_title %} {% block content %} {% if error %}

That did not work

{{ error.description|default:error.error }}

Go back to the app you came from and try connecting again.

{% else %}

Connect to {{ title }}?

Signed in as {{ request.user.get_username }}.

{{ application.name|default:"An app" }} is asking to use the {{ title }} admin as you. Tick what it may do in each section: never more than the admin lets you. You can change this later, under your connected apps.

{% csrf_token %} {% for field in form.hidden_fields %}{{ field }}{% endfor %} {% for error in form.non_field_errors %}

{{ error }}

{% endfor %} {% include "django_admin_oauth_mcp/_ticks.html" %}

Once you say yes, it is sent back to {{ returns_to }}. If you did not start this yourself, from Claude or another app you use, say no.

{% endif %} {% endblock content %}