{% include 'imports.html' %}

Add account

{%include 'error.html' %}
{% if session['step'] == 1 %}
{% elif session['step'] == 2 %}

Authentication required

You now need to authenticate with {{ session['instance'] }}. If {{ session['handle'] }} is your account, click "Open". If it's someone else's account, copy the URL in the box below and send it to them, and ask them to send you the code they receive.

Open

After you've authenticated, paste the code returned by {{ session['instance'] }} into the textbox below.

{% elif session['step'] == 3 %}

Authentication failure

FediBooks was unable to authenticate with {{ session['instance'] }}.

Click back to try again. If you believe this is in error, you may file a bug report.

{% else %}

Error

An unknown error has occurred.

{% endif %}
Cancel {% if session['step'] != 1 %} Back {% endif %}
{% include 'footer.html' %}