@page "/auth/authorize" @model DysonNetwork.Sphere.Pages.Auth.AuthorizeModel @{ ViewData["Title"] = "Authorize Application"; }

Authorize Application

@if (!string.IsNullOrEmpty(Model.AppName)) {
@if (!string.IsNullOrEmpty(Model.AppLogo)) {
@Model.AppName logo
} else {
@Model.AppName?[..1].ToUpper()
}

@Model.AppName

@if (!string.IsNullOrEmpty(Model.AppUri)) { @Model.AppUri }
}

When you authorize this application, you consent to the following permissions:

@functions { private string GetScopeDisplayName(string scope) { return scope switch { "openid" => "View your basic profile information", "profile" => "View your profile information (name, picture, etc.)", "email" => "View your email address", "offline_access" => "Access your information while you're not using the app", _ => scope }; } }