From aa615c04c9d948d20911e06d7ceeb836ab49be49 Mon Sep 17 00:00:00 2001 From: Brian Candler Date: Thu, 11 Feb 2021 17:15:46 +0000 Subject: [PATCH] Improve "Grant Access" template when client requests only openid scope Fixes #1732 Signed-off-by: Brian Candler --- web/templates/approval.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web/templates/approval.html b/web/templates/approval.html index 2fa7bf21..1c037d2d 100644 --- a/web/templates/approval.html +++ b/web/templates/approval.html @@ -5,12 +5,16 @@
+ {{ if .Scopes }}
{{ .Client }} would like to:
    {{ range $scope := .Scopes }}
  • {{ $scope }}
  • {{ end }}
+ {{ else }} +
{{ .Client }} has not requested any personal information
+ {{ end }}