{{ 'Auth.McpConsent.Eyebrow' | translate: { Default: 'Authorization request' } }}

@if (!loading && !loadFailed) { {{ clientName || ('Auth.McpConsent.UnknownClient' | translate: { Default: 'An application' }) }} {{ 'Auth.McpConsent.RequestsAccess' | translate: { Default: 'requests access' } }} } @else { {{ 'Auth.McpConsent.ReviewRequest' | translate: { Default: 'Review access request' } }} }

{{ 'Auth.McpConsent.Description' | translate : { Default: 'Review the MCP services and identity permissions requested by this client before continuing.' } }}

@if (loading) {

{{ 'Auth.McpConsent.Loading' | translate: { Default: 'Loading authorization request…' } }}

} @else if (loadFailed) {

{{ 'Auth.McpConsent.InvalidRequest' | translate: { Default: 'This authorization request is missing or expired.' } }}

} @else {

{{ 'Auth.McpConsent.Client' | translate: { Default: 'Client' } }}

{{ clientName }}

@if (clientId && clientId !== clientName) {

{{ clientId }}

}

{{ 'Auth.McpConsent.McpServices' | translate: { Default: 'MCP services' } }}

@if (resources.length) { } @else {

{{ 'Auth.McpConsent.NoMcpService' | translate: { Default: 'No MCP service was specified.' } }}

}

{{ 'Auth.McpConsent.Permissions' | translate: { Default: 'Requested permissions' } }}

@if (scopes.length) {
@for (scope of scopes; track scope) { {{ scope }} }
} @else {

{{ 'Auth.McpConsent.NoPermissions' | translate: { Default: 'No additional permission scopes were requested.' } }}

}

{{ 'Auth.McpConsent.SecurityHint' | translate : { Default: 'Only allow access if you recognize this client. The client will receive access only to the services and permissions shown above.' } }}

}