Use the full URI of the current page as the OpenID delegate, rather than just the origin

This commit is contained in:
Danielle McLean 2018-06-05 12:54:00 +10:00
parent 8932317f08
commit 0860f37ac0
Signed by: 00dani
GPG key ID: 8EB789DDF3ABD240

View file

@ -16,7 +16,7 @@
<link rel="authorization_endpoint" href="{{ origin }}{% url 'lemonauth:indie' %}" /> <link rel="authorization_endpoint" href="{{ origin }}{% url 'lemonauth:indie' %}" />
<link rel="token_endpoint" href="{{ origin }}{% url 'lemonauth:token' %}" /> <link rel="token_endpoint" href="{{ origin }}{% url 'lemonauth:token' %}" />
<link rel="micropub" href="{{ origin }}{% url 'micropub:micropub' %}" /> <link rel="micropub" href="{{ origin }}{% url 'micropub:micropub' %}" />
<link rel="openid.delegate" href="{{ origin }}" /> <link rel="openid.delegate" href="{{ uri }}" />
<link rel="openid.server" href="https://openid.indieauth.com/openid" /> <link rel="openid.server" href="https://openid.indieauth.com/openid" />
<link rel="hub" href="{% get_push_hub %}" /> <link rel="hub" href="{% get_push_hub %}" />