Files
landing-api/lang/es/pireon.php
Josep Piguillem ec4f687ca8
Some checks failed
Tests / lint (push) Has been cancelled
Tests / test (push) Has been cancelled
Tests / test-postgres (push) Has been cancelled
Tests / mcp (push) Has been cancelled
Offer «Entrar con Pireon» on the panel's login page
Under the e-mail and password form, a button takes the redirect flow
(Authorization Code + PKCE), so the password is only ever typed at the
identity server. The routes for it were already there; the page had no
way to reach them.

A Pireon client allows one grant type and the panel's is a password
client, so the redirect flow can use its own: PIREON_REDIRECT_CLIENT_ID
and PIREON_REDIRECT_CLIENT_SECRET (the main client when they are empty).
The button shows up once that client is set, or with
PIREON_REDIRECT_LOGIN=true. Each session renews its token with the
client that issued it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 12:46:07 +02:00

29 lines
1.5 KiB
PHP

<?php
declare(strict_types=1);
return [
'sign_in' => 'Entrar',
'sign_in_intro' => 'Accede con tu email y tu contraseña, o con tu cuenta de Pireon.',
'continue_with_pireon' => 'Entrar con Pireon',
'signing_in' => 'Comprobando tus credenciales…',
'password_grant_disabled' => 'El acceso con contraseña está desactivado en esta instalación. Avisa a un administrador.',
'server_unavailable' => 'El servidor de identidad no está respondiendo. No es cosa de tus credenciales; avisa a un administrador.',
'sign_out' => 'Cerrar sesión',
'denied' => 'No se completó el acceso: :reason',
'inactive' => 'Tu cuenta está desactivada. Contacta con un administrador.',
'pending_approval' => 'Tu registro todavía está pendiente de aprobación por un administrador.',
'no_permission' => 'Tu cuenta no tiene permiso para acceder a este panel. Pídele a un administrador que te asigne un rol.',
'cannot_grant_super_admin' => 'Solo un super administrador puede conceder el rol de super administrador.',
'not_configured_title' => 'El cliente OAuth no está configurado',
'not_configured_body' => 'Registra esta aplicación en :server y rellena PIREON_CLIENT_ID y PIREON_CLIENT_SECRET en el fichero .env.',
'account' => [
'remote_roles' => 'Roles en el servidor de identidad',
'remote_roles_hint' => 'Informativos: los permisos de esta aplicación se gestionan aquí, no en el servidor OAuth.',
'managed_remotely' => 'Este campo se gestiona en :server y se actualiza en cada inicio de sesión.',
],
];