From a14d31e9d3123956349dfa2f1d66a182e5c897a1 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Fri, 27 Oct 2017 13:26:21 +1100 Subject: [PATCH] Improve the IndieAuth form: include the state parameter, show more information, etc. --- lemonauth/templates/lemonauth/indie.html | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/lemonauth/templates/lemonauth/indie.html b/lemonauth/templates/lemonauth/indie.html index adacbc2..ea2c089 100644 --- a/lemonauth/templates/lemonauth/indie.html +++ b/lemonauth/templates/lemonauth/indie.html @@ -3,22 +3,28 @@

- {{ params.client_id }} + sign in to + + {{ params.client_id }} +

-

do you want to confirm your identity, {{ params.me }}, with this app?

+

do you want to confirm your identity, {{ params.me }}, with this app?

+

you will be redirected to {{ params.redirect_uri }} after authorising this app

{% csrf_token %} + {% if params.state %} + + {% endif %}
{% endblock %}