diff --git a/README.md b/README.md index 7b1cb12..5ca5200 100644 --- a/README.md +++ b/README.md @@ -217,6 +217,19 @@ The tool consumer can use as endpoint the following: # Appendix D, redirect page reference implementation +The html below is a reference implementation of the redirect page. This page contains the following variables that should be injected +into the html at the rendering stage (server side). +* **JWT_TOKEN**, the JWT token +* **ACTION**, this is typically the endpoint of the producer. +* **PRIVACY_URL**, the link to the privacy statement of the producer. + +In this reference implementation of the redirect page, the JavaScript reads the following parameters from the JWT token +and renders them on the page +* **aud** (required), the audience of the JWT token, the name of the producer. +* **first_name** (optional), The first name of the user. +* **last_name** (optional), The last name of the user. +* **email** (optional), The email of the user. + ```html @@ -274,6 +287,10 @@ The tool consumer can use as endpoint the following: +
+