25 lines
804 B
Text
25 lines
804 B
Text
|
|
@model IEnumerable<IdentityServer8.EntityFramework.Entities.ClientScope>
|
||
|
|
@{
|
||
|
|
ViewData["Title"] = "Edit Allowed Scopes";
|
||
|
|
ViewData["addAction"] = "AddScope";
|
||
|
|
ViewData["removeAction"] = "RemoveScope";
|
||
|
|
ViewData["rowKey"] = "Scope";
|
||
|
|
ViewData["valueField"] = "Scope";
|
||
|
|
ViewData["inputName"] = "scope";
|
||
|
|
ViewData["placeholder"] = "openid";
|
||
|
|
ViewData["clientId"] = Model.FirstOrDefault()?.ClientId ?? 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
<h2>Allowed Scopes</h2>
|
||
|
|
|
||
|
|
<p class="text-muted">
|
||
|
|
OAuth2 scopes this client is allowed to request. Each scope must be
|
||
|
|
defined in the IdentityServer resource store. <code>openid</code> is
|
||
|
|
mandatory for OIDC clients.
|
||
|
|
</p>
|
||
|
|
|
||
|
|
@await Html.PartialAsync("_EditableStringList", Model)
|
||
|
|
|
||
|
|
<p>
|
||
|
|
<a asp-action="Edit" asp-route-id="@ViewData["clientId"]">Back to client</a>
|
||
|
|
</p>
|