diff --git a/src/OpenIddict.Mvc/Views/Shared/Authorize.cshtml b/src/OpenIddict.Mvc/Views/Shared/Authorize.cshtml index 33a1919d..9f7935c9 100644 --- a/src/OpenIddict.Mvc/Views/Shared/Authorize.cshtml +++ b/src/OpenIddict.Mvc/Views/Shared/Authorize.cshtml @@ -6,8 +6,11 @@
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())
+Do you want to grant @Model.Item2 access to your data? (scopes requested: @Model.Item1.Scope)
+ + @if (!string.IsNullOrEmpty(Model.Item1.Resource)) { +@Model.Item2 will be able to access the following endpoints: @string.Join(" ; ", Model.Item1.GetResources())
+ }