feat(auth): Add JWT token authentication support with validation

This commit is contained in:
cogwheel0
2025-12-05 11:24:03 +05:30
parent 1ad43d372a
commit bee8fda9f7
11 changed files with 117 additions and 13 deletions

View File

@@ -46,9 +46,11 @@
"enterCredentials": "Inserisci le credenziali per accedere alle conversazioni IA",
"credentials": "Credenziali",
"apiKey": "Chiave API",
"token": "Token",
"usernameOrEmail": "Username o email",
"password": "Password",
"signInWithApiKey": "Accedi con chiave API",
"signInWithToken": "Accedi con token",
"connectToServer": "Connetti al server",
"enterServerAddress": "Inserisci l'indirizzo del server Open-WebUI per iniziare",
"serverUrl": "URL del server",
@@ -225,6 +227,10 @@
"usernameOrEmailHint": "Inserisci il tuo username o email",
"passwordHint": "Inserisci la password",
"enterApiKey": "Inserisci la tua chiave API",
"enterToken": "Inserisci il tuo token JWT",
"tokenHint": "Usa un token JWT dai cookie del browser o dal login API. Le chiavi API (sk-...) non sono supportate per lo streaming.",
"apiKeyNotSupported": "Le chiavi API (sk-...) non sono supportate. Per favore usa un token JWT.",
"tokenTooShort": "Il token è troppo corto",
"signingIn": "Accesso in corso...",
"advancedSettings": "Impostazioni avanzate",
"customHeaders": "Header personalizzati",