From 8524589d8c84b3e9b4130474fd0cfcdac155b4c9 Mon Sep 17 00:00:00 2001 From: Marcell Mars <ki.ber@kom.uni.st> Date: Wed, 7 Aug 2024 09:22:48 +0200 Subject: [PATCH] show OAuth2 requested scopes in authorization UI - by displaying the scopes requested for authorization in the OAuth2 app, users can make more informed decisions when granting access --- templates/user/auth/grant.tmpl | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/user/auth/grant.tmpl b/templates/user/auth/grant.tmpl index a18a3bd27a..1a1b72b83b 100644 --- a/templates/user/auth/grant.tmpl +++ b/templates/user/auth/grant.tmpl @@ -11,6 +11,7 @@ <b>{{ctx.Locale.Tr "auth.authorize_application_description"}}</b><br> {{ctx.Locale.Tr "auth.authorize_application_created_by" .ApplicationCreatorLinkHTML}} </p> + <p>With scopes: {{.Scope}}.</p> </div> <div class="ui attached segment"> <p>{{ctx.Locale.Tr "auth.authorize_redirect_notice" .ApplicationRedirectDomainHTML}}</p>