aboutsummaryrefslogtreecommitdiff
path: root/VPNAuth.Server/Pages
diff options
context:
space:
mode:
Diffstat (limited to 'VPNAuth.Server/Pages')
-rw-r--r--VPNAuth.Server/Pages/Auth.cshtml8
1 files changed, 8 insertions, 0 deletions
diff --git a/VPNAuth.Server/Pages/Auth.cshtml b/VPNAuth.Server/Pages/Auth.cshtml
index 5ac8efe..9017445 100644
--- a/VPNAuth.Server/Pages/Auth.cshtml
+++ b/VPNAuth.Server/Pages/Auth.cshtml
@@ -20,6 +20,14 @@
<p>Do you want to log into <i>@Request.Query["client_id"]</i>?</p>
<button onclick="window.location = '/accept-auth/@Model.RequestEntry?.Entity.Id'">Yes</button>
<br/>
+ <p>Requested Scopes:</p>
+ <ul style="list-style-position: inside;">
+ @foreach (var scope in Model.RequestEntry!.Entity.Scopes)
+ {
+ <li>@scope</li>
+ }
+ </ul>
+ <br/>
<p>You are logged in as <i>@Model.User?.Username</i>.</p>
</div>
}