{% extends "base.html" %} {% block title %}Authorize App - StarPunk{% endblock %} {% block content %}
{% if request_error %}

Cannot authorize this app

{{ request_error }}

Return to homepage

{% else %}

Authorize app

{{ auth_request.client_id }} wants to sign in as {{ me }}.

{% if auth_request.resource %}

This is an AI assistant asking to use your site through MCP ({{ auth_request.resource }}). It can read your notes and drafts, and do whatever you allow below.

{% endif %}

After approval you will be sent to {{ auth_request.redirect_uri }}

{% for name, value in fields.items() %} {% endfor %} {% if auth_request.scopes %}
Permissions requested {% for scope in auth_request.scopes %}
{% endfor %}
{% else %}

This app only wants to confirm your identity. It cannot post.

{% endif %}
{% endif %}
{% endblock %}