@page "/Account/Login/Access" @using Microsoft.Extensions.Primitives @using Microsoft.AspNetCore.Antiforgery; @attribute [RequireAntiforgeryToken]

Authorization

Do you want to grant @ApplicationName access to your data? (scopes requested: @Scope)

@foreach (var parameter in HttpContext.Request.HasFormContentType ? (IEnumerable>)HttpContext.Request.Form : HttpContext.Request.Query) { }
@code { [CascadingParameter] private HttpContext HttpContext { get; set; } = default!; [SupplyParameterFromQuery(Name = "request_app")] private string ApplicationName { get; set; } = ""; [SupplyParameterFromQuery(Name = "request_scope")] private string Scope { get; set; } = ""; }