Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-22 09:54:24 +01:00

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
This commit is contained in:
Marcell Mars 2024-08-07 09:22:48 +02:00
parent 7dbad27156
commit 8524589d8c

View file

@ -11,6 +11,7 @@
<b>{{ctx.Locale.Tr "auth.authorize_application_description"}}</b><br> <b>{{ctx.Locale.Tr "auth.authorize_application_description"}}</b><br>
{{ctx.Locale.Tr "auth.authorize_application_created_by" .ApplicationCreatorLinkHTML}} {{ctx.Locale.Tr "auth.authorize_application_created_by" .ApplicationCreatorLinkHTML}}
</p> </p>
<p>With scopes: {{.Scope}}.</p>
</div> </div>
<div class="ui attached segment"> <div class="ui attached segment">
<p>{{ctx.Locale.Tr "auth.authorize_redirect_notice" .ApplicationRedirectDomainHTML}}</p> <p>{{ctx.Locale.Tr "auth.authorize_redirect_notice" .ApplicationRedirectDomainHTML}}</p>