taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit fc21aca668ba5a67885d44a3877eaf87272415e4
parent 8bf6bee95ee73e08fca45cdb37476999ae5fc7c6
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat,  2 May 2026 23:18:14 +0200

document how to pass SITE

Diffstat:
Mdesign-documents/076-paywall-proxy.rst | 9+++++++--
1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/design-documents/076-paywall-proxy.rst b/design-documents/076-paywall-proxy.rst @@ -57,8 +57,13 @@ Steps: * If such a cookie is set and valid, the request is reverse-proxied to upstream. *Stop.* - * Otherwise, a 302 redirect to ``/.well-known/paivana/templates/$ID`` - is returned. + * Otherwise, an HTTP 302 Redirect to + ``/.well-known/paivana/templates/$ID#SITE`` + is returned. Here, ``$ID`` is the template ID and + ``$SITE`` is the website currently being visited. This way, + the template page can be fully static and cached, and the + JavaScript logic on that page can learn which website + to pay for (and after payment go back there). * When the browser requests ``/.well-known/paivana/templates/$ID`` a static **cachable** paywall page is returned,