{% extends "social/base.html" %} {% block title %}Connect {{ network.label }}{% endblock %} {% block body %}

Connect {{ network.label }}

{{ network.where_the_app_comes_from }}

This network must have {{ redirect_uri }} on file as a valid redirect address, character for character. A trailing slash is a different address.

{% if asks_which_account %}

Signing in here stops half way to ask which account to use. It asks even when there is only one - so this app has one path through a sign-in rather than two, and nobody finds out which account got connected by seeing a post appear on it.

{% endif %} {% if can_register_the_app %} {# Mastodon, and nothing else. Every other network makes somebody fill in a form in a developer portal, and most of them then review it. #}
{% csrf_token %}
Register this app first

Once per server. An app registered on mastodon.social means nothing on fosstodon.org, so each server gets its own row.

{% endif %}
{% csrf_token %} {% if network.asks_for_a_server %}

Every Mastodon server is a separate place, with its own app, its own accounts and its own post length. Ask account.limits() rather than assuming 500 characters.

{% endif %}
{% endblock %}