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 + +
+

Ooooops, something went really bad with your OpenID Connect request! :(

+

+ @Model.Error + @if (!string.IsNullOrEmpty(Model.ErrorDescription)) { + @Model.ErrorDescription + } +

+
\ No newline at end of file diff --git a/src/OpenIddict.Mvc/Views/Shared/Authorize.cshtml b/src/OpenIddict.Mvc/Views/Shared/Authorize.cshtml index bb001f92..33a1919d 100644 --- a/src/OpenIddict.Mvc/Views/Shared/Authorize.cshtml +++ b/src/OpenIddict.Mvc/Views/Shared/Authorize.cshtml @@ -6,7 +6,7 @@

Authorization

-

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())