diff --git a/samples/Mvc.Server/Views/OpenIddict/Error.cshtml b/samples/Mvc.Server/Views/OpenIddict/Error.cshtml new file mode 100644 index 00000000..4c210904 --- /dev/null +++ b/samples/Mvc.Server/Views/OpenIddict/Error.cshtml @@ -0,0 +1,12 @@ +@using Microsoft.IdentityModel.Protocols.OpenIdConnect +@model OpenIdConnectMessage + +
+ @Model.Error + @if (!string.IsNullOrEmpty(Model.ErrorDescription)) { + @Model.ErrorDescription + } +
+Do you wanna grant @Model.Item2 an access to your resources? (scopes requested: @Model.Item1.Scope)
+Do you wanna grant @Model.Item2 access to your resources? (scopes requested: @Model.Item1.Scope)
@Model.Item2 will be able to access the following endpoints: @string.Join(" ; ", Model.Item1.GetResources())