Skip to content

SMB-13, Add privacy policy audience in consentscreen #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<!doctype html>
<html lang="nl">
Expand Down Expand Up @@ -274,6 +287,10 @@ The tool consumer can use as endpoint the following:
</tbody>
</table>

<div class="section">
<p><a target="_blank" href="PRIVACY_URL">Lees hier meer over het privacybeleid van {aud}</a></p>
</div>

<div class="section">
<button id="cancel" class="waves-effect waves-teal btn-flat">Annuleren<i class="material-icons right">cancel</i>
</button>
Expand Down
Binary file modified assets/opensns_launch_emulator_consumer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.