Use an absolute URI for the IndieAuth authorisation endpoint - many IndieAuth clients don't resolve the relative URI correctly

This commit is contained in:
Danielle McLean 2017-10-30 08:08:11 +11:00
parent 75ed4503c8
commit e8214b45ef
Signed by: 00dani
GPG key ID: 5A5D2D1AFF12EEC5

View file

@ -8,7 +8,7 @@
<link rel="canonical" href="{{ uri }}" />
{% block head %}{% endblock %}
<link rel="authorization_endpoint" href="{% url 'lemonauth:indie' %}" />
<link rel="authorization_endpoint" href="{{ origin }}{% url 'lemonauth:indie' %}" />
<link rel="hub" href="{% get_push_hub %}" />
<link rel="self" href="{{ uri }}" />