diff --git a/demo/client/templates/index.html b/demo/client/templates/index.html index 20825f42..e693aab1 100644 --- a/demo/client/templates/index.html +++ b/demo/client/templates/index.html @@ -20,44 +20,40 @@ - -
- {% with messages = get_flashed_messages(with_categories=true) %} - {% for category, message in messages %} -
- {{ message }} -
- {% endfor %} - {% endwith %} +
+
+

+ Canaille client +
+ {{ name }} +
+

+
-
-

{{ name }}

+ {% with messages = get_flashed_messages(with_categories=true) %} + {% for category, message in messages %} +
+ {{ message }} +
+ {% endfor %} + {% endwith %} + +
+

+ This is a dummy OpenID Connect client. + It illustrates how to plug another service on canaille so users can log in from canaille, + consents to share data, and then are redirect to the service. +

+
{% if user %} +
+
+

+ Here are the information this service has access to: +

+
+
{% if user.picture %}
@@ -70,6 +66,13 @@ {{ user.sub }}
+ {% if user.address %} +
+ + {{ user.address }} +
+ {% endif %} + {% if user.email %}
@@ -100,8 +103,26 @@ {% endif %}
+ + {% else %} - Sign in + {% endif %}