Modular logistics and supply chain operating system (LSOS)
JavaScript driver-appfleet-managementfreight-managementinfrastructureinventory-managementlast-mile-deliverylogisticsondemandopen-sourceorder-managementroute-optimizationsupply-chain-managementtracking-and-monitoringtransport-management-systemtransportationwarehouse-management
feat(oauth): complete signup from a verified provider identity
Ronald A. Richardson8aab89fe1982
diff --git a/console/app/components/onboarding/form.hbs b/console/app/components/onboarding/form.hbsindex 406adebf..c00c7767 100644--- a/console/app/components/onboarding/form.hbs+++ b/console/app/components/onboarding/form.hbs@@ -25,19 +25,33 @@<InfoBlock @icon="exclamation-triangle" @text={{this.error}} class="mb-6 px-3 py-2 bg-red-300 text-red-900" @textClass="text-red-900" />{{/if}}<InputGroup @name={{t "onboard.index.full-name"}} @value={{this.name}} @helpText={{t "onboard.index.full-name-help-text"}} @inputClass="input-lg" />- <InputGroup @name={{t "onboard.index.your-email"}} @type="email" @value={{this.email}} @helpText={{t "onboard.index.your-email-help-text"}} @inputClass="input-lg" />+ <InputGroup+ @name={{t "onboard.index.your-email"}}+ @type="email"+ @value={{this.email}}+ @helpText={{t "onboard.index.your-email-help-text"}}+ @inputClass="input-lg"+ @disabled={{this.isEmailLocked}}+ /><InputGroup @name={{t "onboard.index.phone"}} @helpText={{t "onboard.index.phone-help-text"}}><PhoneInput @onInput={{fn (mut this.phone)}} class="form-input input-lg w-full" /></InputGroup><InputGroup @name={{t "onboard.index.organization-name"}} @value={{this.organization_name}} @helpText={{t "onboard.index.organization-help-text"}} @inputClass="input-lg" />- <InputGroup @name={{t "onboard.index.password"}} @value={{this.password}} @type="password" @helpText={{t "onboard.index.password-help-text"}} @inputClass="input-lg" />- <InputGroup- @name={{t "onboard.index.confirm-password"}}- @value={{this.password_confirmation}}- @type="password"- @helpText={{t "onboard.index.confirm-password-help-text"}}- @inputClass="input-lg"- />+ {{#if this.hasOauthIntent}}+ {{!-- The provider identity is the credential, so no password is+ collected. The account is created without one, and the user+ signs in with that provider from here on. --}}+ <InfoBlock @icon="circle-check" @text={{t "onboard.index.oauth-verified"}} class="mb-4 px-3 py-2 bg-green-200 text-green-900" @textClass="text-green-900" />+ {{else}}+ <InputGroup @name={{t "onboard.index.password"}} @value={{this.password}} @type="password" @helpText={{t "onboard.index.password-help-text"}} @inputClass="input-lg" />+ <InputGroup+ @name={{t "onboard.index.confirm-password"}}+ @value={{this.password_confirmation}}+ @type="password"+ @helpText={{t "onboard.index.confirm-password-help-text"}}+ @inputClass="input-lg"+ />+ {{/if}}<div class="flex items-center justify-end mt-5"><Buttondiff --git a/console/app/components/onboarding/form.js b/console/app/components/onboarding/form.jsindex d8db66cf..2d7b6e6a 100644--- a/console/app/components/onboarding/form.js+++ b/console/app/components/onboarding/form.js@@ -4,7 +4,7 @@ import { tracked } from '@glimmer/tracking';import { getProperties } from '@ember/object';import { isBlank } from '@ember/utils';import { task } from 'ember-concurrency';-import OnboardValidations from '../../validations/onboard';+import { onboardValidationsFor } from '../../validations/onboard';import lookupValidator from 'ember-changeset-validations';import Changeset from 'ember-changeset';@@ -14,6 +14,7 @@ export default class OnboardingFormComponent extends Component {@service router;@service notifications;@service urlSearchParams;+ @service oauth;@tracked name;@tracked email;@tracked phone;@@ -22,9 +23,48 @@ export default class OnboardingFormComponent extends Component {@tracked password_confirmation;@tracked error;+ constructor() {+ super(...arguments);++ // A signup that began with "Continue with <provider>" arrives here carrying a+ // registration intent the API issued after verifying the identity. Prefill what+ // the provider told us and drop the password fields — the intent is the+ // credential. Everything else is still collected exactly as before.+ const registration = this.oauth.registration;++ if (registration?.intent) {+ this.oauthIntent = registration.intent;+ this.name = registration.prefill?.name ?? null;+ this.email = registration.prefill?.email ?? null;+ }+ }++ /**+ * The registration intent, when this signup started from a provider.+ *+ * @var {String|null}+ */+ @tracked oauthIntent = null;++ get hasOauthIntent() {+ return !isBlank(this.oauthIntent);+ }++ /**+ * The email came from the provider and the API will verify the intent against it,+ * so editing it here would only produce a mismatch the server rejects.+ */+ get isEmailLocked() {+ return this.hasOauthIntent && !isBlank(this.email);+ }++ get requiredFields() {+ return this.hasOauthIntent ? ['name', 'email', 'phone', 'organization_name'] : ['name', 'email', 'phone', 'organization_name', 'password', 'password_confirmation'];+ }+get filled() {// eslint-disable-next-line ember/no-get- const input = getProperties(this, 'name', 'email', 'phone', 'organization_name', 'password', 'password_confirmation');+ const input = getProperties(this, ...this.requiredFields);return Object.values(input).every((val) => !isBlank(val));}@@ -32,8 +72,9 @@ export default class OnboardingFormComponent extends Component {event?.preventDefault?.();// eslint-disable-next-line ember/no-get- const input = getProperties(this, 'name', 'email', 'phone', 'organization_name', 'password', 'password_confirmation');- const changeset = new Changeset(input, lookupValidator(OnboardValidations), OnboardValidations);+ const input = getProperties(this, ...this.requiredFields);+ const validations = onboardValidationsFor({ hasOauthIntent: this.hasOauthIntent });+ const changeset = new Changeset(input, lookupValidator(validations), validations);yield changeset.validate();@@ -47,6 +88,10 @@ export default class OnboardingFormComponent extends Component {// Set user timezoneinput.timezone = Intl.DateTimeFormat().resolvedOptions().timeZone;+ if (this.hasOauthIntent) {+ input.oauth_intent = this.oauthIntent;+ }+try {const { status, skipVerification, token, session } = yield this.fetch.post('onboard/create-account', input);if (status !== 'success') {@@ -54,6 +99,10 @@ export default class OnboardingFormComponent extends Component {return;}+ // Single use: whether or not the rest of the wizard completes, this intent+ // is now spent server side and must not be replayed.+ this.oauth.clearRegistration();+// save sessionthis.args.context.persist('session', session);diff --git a/console/app/services/onboarding-context.js b/console/app/services/onboarding-context.jsindex 8b9fe46d..8585d8fb 100644--- a/console/app/services/onboarding-context.js+++ b/console/app/services/onboarding-context.js@@ -135,7 +135,7 @@ export default class OnboardingContextService extends Service {}// Filter out sensitive fields- const sensitiveFields = ['password', 'password_confirmation'];+ const sensitiveFields = ['password', 'password_confirmation', 'oauth_intent'];const filteredData = {};for (const [key, value] of Object.entries(data)) {@@ -164,7 +164,7 @@ export default class OnboardingContextService extends Service {*/set(key, value, options = {}) {// Don't store sensitive fields- const sensitiveFields = ['password', 'password_confirmation'];+ const sensitiveFields = ['password', 'password_confirmation', 'oauth_intent'];if (sensitiveFields.includes(key)) {return;}diff --git a/console/app/validations/onboard.js b/console/app/validations/onboard.jsindex 50969c32..a0d685f0 100644--- a/console/app/validations/onboard.js+++ b/console/app/validations/onboard.js@@ -1,10 +1,25 @@/** @validations onboard */import { validatePresence, validateLength, validateConfirmation, validateFormat } from 'ember-changeset-validations/validators';-export default {+const base = {name: [validatePresence(true)],email: [validatePresence(true), validateFormat({ type: 'email' })],organization_name: [validatePresence(true)],+};++export const passwordValidations = {password: [validatePresence(true), validateLength({ min: 8 })],password_confirmation: [validatePresence(true), validateConfirmation({ on: 'password' })],};++/**+ * A signup proves itself with either a password or an OAuth registration intent, so+ * the password rules are only applied when there is no intent. Everything else —+ * name, email, organization — is required either way, which is what keeps an OAuth+ * account held to the same standard as a password one.+ */+export function onboardValidationsFor({ hasOauthIntent = false } = {}) {+ return hasOauthIntent ? { ...base } : { ...base, ...passwordValidations };+}++export default { ...base, ...passwordValidations };diff --git a/console/tests/integration/components/onboarding/form-test.js b/console/tests/integration/components/onboarding/form-test.jsindex e85e7ac5..3e632c15 100644--- a/console/tests/integration/components/onboarding/form-test.js+++ b/console/tests/integration/components/onboarding/form-test.js@@ -247,4 +247,95 @@ module('Integration | Component | onboarding/form | onboard', function (hooks) {assert.deepEqual(this.notifications().serverErrors, [failure]);});++ test('a signup started from a provider drops the password fields and prefills the identity', async function (assert) {+ const oauth = this.owner.lookup('service:oauth');+ oauth.setRegistration({ intent: 'rti_abc', prefill: { name: 'Ada Lovelace', email: '[email protected]', email_verified: true } });++ await render(hbs`<Onboarding::Form />`);++ // The provider identity IS the credential, so no password is collected.+ assert.dom('input[type="password"]').doesNotExist('no password fields are rendered');+ assert.dom('input[type="email"]').hasValue('[email protected]', 'the provider email is prefilled');+ assert.dom('input[type="email"]').isDisabled('the email is locked to the address the provider verified');+ });++ test('a provider signup can be submitted without a password', async function (assert) {+ const oauth = this.owner.lookup('service:oauth');+ oauth.setRegistration({ intent: 'rti_abc', prefill: { name: 'Ada Lovelace', email: '[email protected]' } });++ const captured = captureComponent(this.owner, 'onboarding/form', OnboardingFormComponent);+ await render(hbs`<Onboarding::Form />`);++ const component = captured.instance;+ component.phone = '+15555550123';+ component.organization_name = 'Compiler Logistics';++ assert.true(component.hasOauthIntent, 'the component picked up the intent');+ assert.true(component.filled, 'a password is not required to submit');+ assert.deepEqual(component.requiredFields, ['name', 'email', 'phone', 'organization_name']);+ });++ test('a password signup still requires a password', async function (assert) {+ const captured = captureComponent(this.owner, 'onboarding/form', OnboardingFormComponent);+ await render(hbs`<Onboarding::Form />`);++ const component = captured.instance;+ component.name = 'Ada Lovelace';+ component.email = '[email protected]';+ component.phone = '+15555550123';+ component.organization_name = 'Compiler Logistics';++ assert.false(component.hasOauthIntent);+ assert.false(component.filled, 'the password fields are still required');++ component.password = 'correct horse battery staple';+ component.password_confirmation = 'correct horse battery staple';+ assert.true(component.filled);+ });++ test('the intent is sent with the signup and cleared once spent', async function (assert) {+ const posted = [];++ class FetchStub extends Service {+ post(path, body) {+ posted.push({ path, body });+ return Promise.resolve({ status: 'success', session: 'sess', skipVerification: false });+ }+ }++ this.owner.register('service:fetch', FetchStub);++ const oauth = this.owner.lookup('service:oauth');+ oauth.setRegistration({ intent: 'rti_abc', prefill: { name: 'Ada Lovelace', email: '[email protected]' } });++ this.noop = () => {};++ const captured = captureComponent(this.owner, 'onboarding/form', OnboardingFormComponent);+ await render(hbs`<Onboarding::Form @context={{hash persist=this.noop}} @orchestrator={{hash next=this.noop}} />`);++ const component = captured.instance;+ component.phone = '+15555550123';+ component.organization_name = 'Compiler Logistics';++ await component.onboard.perform();++ assert.strictEqual(posted.length, 1, 'the account was created');+ assert.strictEqual(posted[0].body.oauth_intent, 'rti_abc', 'the intent is sent in place of a password');+ assert.notOk(posted[0].body.password, 'no password is sent');+ // Single use: it is spent server side and must not be replayed.+ assert.strictEqual(oauth.registration, null, 'the intent is cleared afterwards');+ });++ test('the intent is never written to the onboarding context', async function (assert) {+ const context = this.owner.lookup('service:onboarding-context');++ context.set('oauth_intent', 'rti_abc', { persist: true });+ context.merge({ oauth_intent: 'rti_def', organization_name: 'Compiler Logistics' }, { persist: true });++ // It is a single-use bearer credential proving a verified identity; it belongs+ // in memory for the length of the wizard, not in localStorage.+ assert.notOk(context.data.oauth_intent, 'the intent is not held in the context');+ assert.strictEqual(context.data.organization_name, 'Compiler Logistics', 'other values still merge');+ });});diff --git a/console/translations/ar-ae.yaml b/console/translations/ar-ae.yamlindex c2f10153..79168efd 100644--- a/console/translations/ar-ae.yaml+++ b/console/translations/ar-ae.yaml@@ -569,6 +569,25 @@ auth:forgot-password-label: هل نسيت كلمة المرور؟sign-in-button: تسجيل الدخولcreate-account-button: إنشاء حساب جديد+ oauth:+ divider: 'أو المتابعة باستخدام'+ continue-with: 'المتابعة باستخدام {provider}'+ signing-in: 'جارٍ تسجيل الدخول...'+ finish-signup: 'أكمل إعداد حساب Fleetbase للمتابعة.'+ errors:+ generic: 'تعذّر إكمال تسجيل الدخول. يرجى المحاولة مرة أخرى.'+ access-denied: 'تم إلغاء تسجيل الدخول.'+ provider-error: 'أبلغ مزوّد تسجيل الدخول عن مشكلة. يرجى المحاولة مرة أخرى.'+ provider-disabled: 'طريقة تسجيل الدخول هذه غير متاحة.'+ invalid-state: 'لم يعد رابط تسجيل الدخول هذا صالحًا. يرجى المحاولة مرة أخرى.'+ exchange-failed: 'تعذّر الوصول إلى مزوّد تسجيل الدخول. يرجى المحاولة مرة أخرى.'+ expired: 'انتهت صلاحية جلسة تسجيل الدخول. يرجى المحاولة مرة أخرى.'+ hosted-domain: 'حسابك لا ينتمي إلى نطاق مسموح به.'+ registration-disabled: 'التسجيلات الجديدة غير متاحة.'+ link-required: 'يوجد حساب بهذا البريد الإلكتروني بالفعل. سجّل الدخول واربط هذا المزوّد من إعدادات حسابك.'+ customer-account: 'يجب على حسابات العملاء تسجيل الدخول عبر بوابة العملاء.'+ not-verified: 'يجب التحقق من حسابك للمتابعة.'+ rate-limited: 'محاولات كثيرة جدًا. يرجى المحاولة بعد قليل.'slow-connection-message: تواجه مشاكل في الاتصال.reset-password:success-message: تم إعادة تعيين كلمة المرور! قم بتسجيل الدخول للمتابعة.@@ -733,6 +752,7 @@ onboard:password-help-text: كلمة مرورك، تأكد من أنها قوية.confirm-password: تأكيد كلمة المرورconfirm-password-help-text: فقط لتأكيد كلمة المرور التي أدخلتها أعلاه.+ oauth-verified: 'تم التحقق من هويتك. لا حاجة إلى كلمة مرور — ستسجّل الدخول عبر مزوّدك.'continue-button-text: متابعةverify-email:header-title: التحقق من الحسابdiff --git a/console/translations/bg-bg.yaml b/console/translations/bg-bg.yamlindex dcc2ad52..745e1672 100644--- a/console/translations/bg-bg.yaml+++ b/console/translations/bg-bg.yaml@@ -576,6 +576,25 @@ auth:forgot-password-label: Забравили ли сте паролата си?sign-in-button: Входcreate-account-button: Създайте нов акаунт+ oauth:+ divider: 'Или продължете с'+ continue-with: 'Продължете с {provider}'+ signing-in: 'Влизане...'+ finish-signup: 'Завършете настройката на профила си във Fleetbase, за да продължите.'+ errors:+ generic: 'Влизането не можа да бъде завършено. Опитайте отново.'+ access-denied: 'Влизането беше отказано.'+ provider-error: 'Доставчикът за вход съобщи за проблем. Опитайте отново.'+ provider-disabled: 'Този начин за вход не е наличен.'+ invalid-state: 'Тази връзка за вход вече не е валидна. Опитайте отново.'+ exchange-failed: 'Доставчикът за вход не може да бъде достигнат. Опитайте отново.'+ expired: 'Сесията за вход изтече. Опитайте отново.'+ hosted-domain: 'Профилът ви не принадлежи към разрешен домейн.'+ registration-disabled: 'Новите регистрации не са достъпни.'+ link-required: 'Вече съществува профил с този имейл. Влезте и свържете този доставчик от настройките на профила си.'+ customer-account: 'Клиентските профили трябва да влизат през клиентския портал.'+ not-verified: 'Профилът ви трябва да бъде потвърден, за да продължите.'+ rate-limited: 'Твърде много опити. Опитайте отново скоро.'slow-connection-message: Имате проблеми с връзката.reset-password:success-message: Вашата парола беше нулирана! Влезте, за да продължите.@@ -744,6 +763,7 @@ onboard:confirm-password: Потвърдете паролата сиconfirm-password-help-text: Просто за да потвърдите паролата, която въведохтепо-горе.+ oauth-verified: 'Самоличността ви е потвърдена. Не е нужна парола — ще влизате чрез своя доставчик.'continue-button-text: Продължиverify-email:header-title: Потвърждение на акаунтаdiff --git a/console/translations/de-de.yaml b/console/translations/de-de.yamlindex d04d75f0..611130be 100644--- a/console/translations/de-de.yaml+++ b/console/translations/de-de.yaml@@ -605,6 +605,25 @@ auth:forgot-password-label: Passwort vergessen?sign-in-button: Anmeldencreate-account-button: Neues Konto erstellen+ oauth:+ divider: 'Oder fortfahren mit'+ continue-with: 'Mit {provider} fortfahren'+ signing-in: 'Sie werden angemeldet...'+ finish-signup: 'Schließen Sie die Einrichtung Ihres Fleetbase-Kontos ab, um fortzufahren.'+ errors:+ generic: 'Die Anmeldung konnte nicht abgeschlossen werden. Bitte versuchen Sie es erneut.'+ access-denied: 'Die Anmeldung wurde abgebrochen.'+ provider-error: 'Der Anmeldeanbieter hat ein Problem gemeldet. Bitte versuchen Sie es erneut.'+ provider-disabled: 'Diese Anmeldemethode ist nicht verfügbar.'+ invalid-state: 'Dieser Anmeldelink ist nicht mehr gültig. Bitte versuchen Sie es erneut.'+ exchange-failed: 'Der Anmeldeanbieter konnte nicht erreicht werden. Bitte versuchen Sie es erneut.'+ expired: 'Diese Anmeldesitzung ist abgelaufen. Bitte versuchen Sie es erneut.'+ hosted-domain: 'Ihr Konto gehört nicht zu einer zugelassenen Domain.'+ registration-disabled: 'Neuregistrierungen sind nicht verfügbar.'+ link-required: 'Ein Konto mit dieser E-Mail-Adresse existiert bereits. Melden Sie sich an und verknüpfen Sie diesen Anbieter in Ihren Kontoeinstellungen.'+ customer-account: 'Kundenkonten müssen sich über das Kundenportal anmelden.'+ not-verified: 'Ihr Konto muss verifiziert werden, um fortzufahren.'+ rate-limited: 'Zu viele Versuche. Bitte versuchen Sie es in Kürze erneut.'slow-connection-message: Es treten Verbindungsprobleme auf.reset-password:@@ -778,6 +797,7 @@ onboard:password-help-text: Ihr Passwort, achten Sie auf ein sicheres.confirm-password: Passwort bestätigenconfirm-password-help-text: Nur zur Bestätigung des oben eingegebenen Passworts.+ oauth-verified: 'Ihre Identität ist bestätigt. Kein Passwort nötig – Sie melden sich über Ihren Anbieter an.'continue-button-text: Fortfahrenverify-email:header-title: Kontoverifizierungdiff --git a/console/translations/en-us.yaml b/console/translations/en-us.yamlindex ddec3f6e..c3b7b18b 100644--- a/console/translations/en-us.yaml+++ b/console/translations/en-us.yaml@@ -616,6 +616,25 @@ auth:forgot-password-label: Forgot your password?sign-in-button: Sign increate-account-button: Create a new Account+ oauth:+ divider: 'Or continue with'+ continue-with: 'Continue with {provider}'+ signing-in: 'Signing you in...'+ finish-signup: 'Finish setting up your Fleetbase account to continue.'+ errors:+ generic: 'We could not complete that sign-in. Please try again.'+ access-denied: 'Sign-in was cancelled.'+ provider-error: 'The sign-in provider reported a problem. Please try again.'+ provider-disabled: 'That sign-in method is not available.'+ invalid-state: 'That sign-in link is no longer valid. Please try again.'+ exchange-failed: 'We could not reach the sign-in provider. Please try again.'+ expired: 'That sign-in session expired. Please try again.'+ hosted-domain: 'Your account is not in an allowed domain.'+ registration-disabled: 'New sign-ups are not available.'+ link-required: 'An account with this email already exists. Sign in and link this provider from your account settings.'+ customer-account: 'Customer accounts must sign in through the customer portal.'+ not-verified: 'Your account needs to be verified to proceed.'+ rate-limited: 'Too many attempts. Please try again shortly.'slow-connection-message: Experiencing connectivity issues.reset-password:@@ -819,6 +838,7 @@ onboard:password-help-text: Your password, make sure it's a good one.confirm-password: Confirm your passwordconfirm-password-help-text: Just to confirm the password you entered above.+ oauth-verified: 'Your identity is verified. No password needed — you''ll sign in with your provider.'continue-button-text: Continueverify-email:header-title: Account Verificationdiff --git a/console/translations/es-es.yaml b/console/translations/es-es.yamlindex e8f2c976..cebe2b21 100644--- a/console/translations/es-es.yaml+++ b/console/translations/es-es.yaml@@ -578,6 +578,25 @@ auth:forgot-password-label: ¿Olvidaste tu contraseña?sign-in-button: Iniciar sesióncreate-account-button: Crear una nueva cuenta+ oauth:+ divider: 'O continuar con'+ continue-with: 'Continuar con {provider}'+ signing-in: 'Iniciando sesión...'+ finish-signup: 'Termine de configurar su cuenta de Fleetbase para continuar.'+ errors:+ generic: 'No se pudo completar el inicio de sesión. Inténtelo de nuevo.'+ access-denied: 'Se canceló el inicio de sesión.'+ provider-error: 'El proveedor de inicio de sesión informó de un problema. Inténtelo de nuevo.'+ provider-disabled: 'Ese método de inicio de sesión no está disponible.'+ invalid-state: 'Ese enlace de inicio de sesión ya no es válido. Inténtelo de nuevo.'+ exchange-failed: 'No se pudo contactar con el proveedor de inicio de sesión. Inténtelo de nuevo.'+ expired: 'Esa sesión de inicio de sesión ha caducado. Inténtelo de nuevo.'+ hosted-domain: 'Su cuenta no pertenece a un dominio permitido.'+ registration-disabled: 'Los nuevos registros no están disponibles.'+ link-required: 'Ya existe una cuenta con este correo electrónico. Inicie sesión y vincule este proveedor desde la configuración de su cuenta.'+ customer-account: 'Las cuentas de cliente deben iniciar sesión a través del portal de clientes.'+ not-verified: 'Su cuenta debe ser verificada para continuar.'+ rate-limited: 'Demasiados intentos. Inténtelo de nuevo en breve.'slow-connection-message: Experimentando problemas de conectividad.reset-password:success-message: ¡Tu contraseña ha sido restablecida! Inicia sesión para continuar.@@ -747,6 +766,7 @@ onboard:confirm-password: Confirma tu contraseñaconfirm-password-help-text: Solo para confirmar la contraseña que introdujistearriba.+ oauth-verified: 'Su identidad está verificada. No necesita contraseña: iniciará sesión con su proveedor.'continue-button-text: Continuarverify-email:header-title: Verificación de cuentadiff --git a/console/translations/es-mx.yaml b/console/translations/es-mx.yamlindex c9bf8b29..063ec24e 100644--- a/console/translations/es-mx.yaml+++ b/console/translations/es-mx.yaml@@ -608,6 +608,25 @@ auth:forgot-password-label: ¿Olvidaste tu contraseña?sign-in-button: Iniciar sesióncreate-account-button: Crear una nueva cuenta+ oauth:+ divider: 'O continuar con'+ continue-with: 'Continuar con {provider}'+ signing-in: 'Iniciando sesión...'+ finish-signup: 'Termina de configurar tu cuenta de Fleetbase para continuar.'+ errors:+ generic: 'No se pudo completar el inicio de sesión. Inténtalo de nuevo.'+ access-denied: 'Se canceló el inicio de sesión.'+ provider-error: 'El proveedor de inicio de sesión reportó un problema. Inténtalo de nuevo.'+ provider-disabled: 'Ese método de inicio de sesión no está disponible.'+ invalid-state: 'Ese enlace de inicio de sesión ya no es válido. Inténtalo de nuevo.'+ exchange-failed: 'No se pudo contactar al proveedor de inicio de sesión. Inténtalo de nuevo.'+ expired: 'Esa sesión de inicio de sesión expiró. Inténtalo de nuevo.'+ hosted-domain: 'Tu cuenta no pertenece a un dominio permitido.'+ registration-disabled: 'Los nuevos registros no están disponibles.'+ link-required: 'Ya existe una cuenta con este correo electrónico. Inicia sesión y vincula este proveedor desde la configuración de tu cuenta.'+ customer-account: 'Las cuentas de cliente deben iniciar sesión a través del portal de clientes.'+ not-verified: 'Tu cuenta debe ser verificada para continuar.'+ rate-limited: 'Demasiados intentos. Inténtalo de nuevo en breve.'slow-connection-message: Experimentando problemas de conectividad.reset-password:@@ -793,6 +812,7 @@ onboard:confirm-password: Confirma tu contraseñaconfirm-password-help-text: Solo para confirmar la contraseña que introdujistearriba.+ oauth-verified: 'Tu identidad está verificada. No necesitas contraseña: iniciarás sesión con tu proveedor.'continue-button-text: Continuarverify-email:diff --git a/console/translations/fa-ir.yaml b/console/translations/fa-ir.yamlindex 9804143d..7ba159ed 100644--- a/console/translations/fa-ir.yaml+++ b/console/translations/fa-ir.yaml@@ -560,6 +560,25 @@ auth:forgot-password-label: رمز عبور خود را فراموش کردهاید؟sign-in-button: ورودcreate-account-button: ایجاد حساب جدید+ oauth:+ divider: 'یا ادامه با'+ continue-with: 'ادامه با {provider}'+ signing-in: 'در حال ورود...'+ finish-signup: 'برای ادامه، راهاندازی حساب Fleetbase خود را کامل کنید.'+ errors:+ generic: 'ورود کامل نشد. لطفاً دوباره تلاش کنید.'+ access-denied: 'ورود لغو شد.'+ provider-error: 'ارائهدهنده ورود مشکلی گزارش کرد. لطفاً دوباره تلاش کنید.'+ provider-disabled: 'این روش ورود در دسترس نیست.'+ invalid-state: 'این پیوند ورود دیگر معتبر نیست. لطفاً دوباره تلاش کنید.'+ exchange-failed: 'دسترسی به ارائهدهنده ورود ممکن نشد. لطفاً دوباره تلاش کنید.'+ expired: 'این نشست ورود منقضی شده است. لطفاً دوباره تلاش کنید.'+ hosted-domain: 'حساب شما در دامنه مجاز قرار ندارد.'+ registration-disabled: 'ثبتنام جدید در دسترس نیست.'+ link-required: 'حسابی با این ایمیل از قبل وجود دارد. وارد شوید و این ارائهدهنده را از تنظیمات حساب خود متصل کنید.'+ customer-account: 'حسابهای مشتری باید از طریق پورتال مشتری وارد شوند.'+ not-verified: 'برای ادامه، حساب شما باید تأیید شود.'+ rate-limited: 'تلاشهای بیش از حد. لطفاً کمی بعد دوباره تلاش کنید.'slow-connection-message: در حال تجربه مشکلات اتصالreset-password:success-message: رمز عبور شما بازنشانی شد! برای ادامه وارد شوید@@ -721,6 +740,7 @@ onboard:password-help-text: رمز عبور شما، مطمئن شوید که قوی استconfirm-password: رمز عبور خود را تأیید کنیدconfirm-password-help-text: فقط برای تأیید رمز عبوری که در بالا وارد کردهاید+ oauth-verified: 'هویت شما تأیید شد. نیازی به رمز عبور نیست — با ارائهدهنده خود وارد میشوید.'continue-button-text: ادامهverify-email:header-title: تأیید حسابdiff --git a/console/translations/fr-fr.yaml b/console/translations/fr-fr.yamlindex bb3d401b..44bc8574 100644--- a/console/translations/fr-fr.yaml+++ b/console/translations/fr-fr.yaml@@ -579,6 +579,25 @@ auth:forgot-password-label: Mot de passe oublié ?sign-in-button: Se connectercreate-account-button: Créer un nouveau compte+ oauth:+ divider: 'Ou continuer avec'+ continue-with: 'Continuer avec {provider}'+ signing-in: 'Connexion en cours...'+ finish-signup: 'Terminez la configuration de votre compte Fleetbase pour continuer.'+ errors:+ generic: 'La connexion n''a pas pu être finalisée. Veuillez réessayer.'+ access-denied: 'La connexion a été annulée.'+ provider-error: 'Le fournisseur de connexion a signalé un problème. Veuillez réessayer.'+ provider-disabled: 'Cette méthode de connexion n''est pas disponible.'+ invalid-state: 'Ce lien de connexion n''est plus valide. Veuillez réessayer.'+ exchange-failed: 'Impossible de joindre le fournisseur de connexion. Veuillez réessayer.'+ expired: 'Cette session de connexion a expiré. Veuillez réessayer.'+ hosted-domain: 'Votre compte n''appartient pas à un domaine autorisé.'+ registration-disabled: 'Les nouvelles inscriptions ne sont pas disponibles.'+ link-required: 'Un compte avec cette adresse e-mail existe déjà. Connectez-vous et associez ce fournisseur depuis les paramètres de votre compte.'+ customer-account: 'Les comptes clients doivent se connecter via le portail client.'+ not-verified: 'Votre compte doit être vérifié pour continuer.'+ rate-limited: 'Trop de tentatives. Veuillez réessayer dans un instant.'slow-connection-message: Problèmes de connexion en cours.reset-password:success-message: Votre mot de passe a été réinitialisé ! Connectez-vous pour continuer.@@ -750,6 +769,7 @@ onboard:confirm-password: Confirmez votre mot de passeconfirm-password-help-text: Juste pour confirmer le mot de passe que vous avezsaisi ci-dessus.+ oauth-verified: 'Votre identité est vérifiée. Aucun mot de passe nécessaire : vous vous connecterez via votre fournisseur.'continue-button-text: Continuerverify-email:header-title: Vérification du comptediff --git a/console/translations/it-it.yaml b/console/translations/it-it.yamlindex 247f6a7f..832a958d 100644--- a/console/translations/it-it.yaml+++ b/console/translations/it-it.yaml@@ -614,6 +614,25 @@ auth:forgot-password-label: Hai dimenticato la password?sign-in-button: Accedicreate-account-button: Crea un nuovo account+ oauth:+ divider: 'Oppure continua con'+ continue-with: 'Continua con {provider}'+ signing-in: 'Accesso in corso...'+ finish-signup: 'Completa la configurazione del tuo account Fleetbase per continuare.'+ errors:+ generic: 'Non è stato possibile completare l''accesso. Riprova.'+ access-denied: 'Accesso annullato.'+ provider-error: 'Il provider di accesso ha segnalato un problema. Riprova.'+ provider-disabled: 'Questo metodo di accesso non è disponibile.'+ invalid-state: 'Questo link di accesso non è più valido. Riprova.'+ exchange-failed: 'Non è stato possibile contattare il provider di accesso. Riprova.'+ expired: 'Questa sessione di accesso è scaduta. Riprova.'+ hosted-domain: 'Il tuo account non appartiene a un dominio consentito.'+ registration-disabled: 'Le nuove registrazioni non sono disponibili.'+ link-required: 'Esiste già un account con questa email. Accedi e collega questo provider dalle impostazioni del tuo account.'+ customer-account: 'Gli account cliente devono accedere tramite il portale clienti.'+ not-verified: 'Il tuo account deve essere verificato per continuare.'+ rate-limited: 'Troppi tentativi. Riprova tra poco.'slow-connection-message: Si stanno verificando problemi di connettività.reset-password:@@ -775,6 +794,7 @@ onboard:password-help-text: La tua password, assicurati che sia sicura.confirm-password: Conferma la tua passwordconfirm-password-help-text: Solo per confermare la password inserita sopra.+ oauth-verified: 'La tua identità è verificata. Nessuna password necessaria: accederai con il tuo provider.'continue-button-text: Continuaverify-email:header-title: Verifica dell'accountdiff --git a/console/translations/mn-mn.yaml b/console/translations/mn-mn.yamlindex f302ac89..b32d055b 100644--- a/console/translations/mn-mn.yaml+++ b/console/translations/mn-mn.yaml@@ -577,6 +577,25 @@ auth:forgot-password-label: Нууц үгээ мартсан уу?sign-in-button: Нэвтрэхcreate-account-button: Шинэ данс үүсгэх+ oauth:+ divider: 'Эсвэл үргэлжлүүлэх'+ continue-with: '{provider}-ээр үргэлжлүүлэх'+ signing-in: 'Нэвтэрч байна...'+ finish-signup: 'Үргэлжлүүлэхийн тулд Fleetbase бүртгэлээ тохируулж дуусгана уу.'+ errors:+ generic: 'Нэвтрэлтийг гүйцэтгэж чадсангүй. Дахин оролдоно уу.'+ access-denied: 'Нэвтрэлт цуцлагдлаа.'+ provider-error: 'Нэвтрэлтийн үйлчилгээ алдаа мэдээллээ. Дахин оролдоно уу.'+ provider-disabled: 'Энэ нэвтрэх арга боломжгүй байна.'+ invalid-state: 'Энэ нэвтрэх холбоос хүчингүй болсон. Дахин оролдоно уу.'+ exchange-failed: 'Нэвтрэлтийн үйлчилгээтэй холбогдож чадсангүй. Дахин оролдоно уу.'+ expired: 'Нэвтрэх сессийн хугацаа дууссан. Дахин оролдоно уу.'+ hosted-domain: 'Таны бүртгэл зөвшөөрөгдсөн домэйнд хамаарахгүй байна.'+ registration-disabled: 'Шинээр бүртгүүлэх боломжгүй байна.'+ link-required: 'Энэ имэйлтэй бүртгэл аль хэдийн байна. Нэвтэрч ороод бүртгэлийн тохиргооноос энэ үйлчилгээг холбоно уу.'+ customer-account: 'Үйлчлүүлэгчийн бүртгэл нь үйлчлүүлэгчийн порталаар нэвтэрнэ.'+ not-verified: 'Үргэлжлүүлэхийн тулд таны бүртгэлийг баталгаажуулах шаардлагатай.'+ rate-limited: 'Хэт олон оролдлого. Түр хүлээгээд дахин оролдоно уу.'slow-connection-message: Сүлжээний холболт удааширч байна.reset-password:success-message: Таны нууц үг амжилттай сэргээгдлээ! Үргэлжлүүлэхийн тулд нэвтэрнэ@@ -747,6 +766,7 @@ onboard:password-help-text: Таны нууц үг, сайн нууц үг сонгоно уу.confirm-password: Нууц үгээ баталгаажуулахconfirm-password-help-text: Дээр оруулсан нууц үгийг баталгаажуулах зорилгоор.+ oauth-verified: 'Таны бүртгэл баталгаажлаа. Нууц үг шаардлагагүй — та үйлчилгээгээрээ нэвтэрнэ.'continue-button-text: Үргэлжлүүлэхverify-email:header-title: Бүртгэлийн баталгаажуулалтdiff --git a/console/translations/pt-br.yaml b/console/translations/pt-br.yamlindex 97c31b2f..8736f89e 100644--- a/console/translations/pt-br.yaml+++ b/console/translations/pt-br.yaml@@ -574,6 +574,25 @@ auth:forgot-password-label: Esqueceu sua senha?sign-in-button: Entrarcreate-account-button: Criar uma nova conta+ oauth:+ divider: 'Ou continuar com'+ continue-with: 'Continuar com {provider}'+ signing-in: 'Entrando...'+ finish-signup: 'Conclua a configuração da sua conta Fleetbase para continuar.'+ errors:+ generic: 'Não foi possível concluir o login. Tente novamente.'+ access-denied: 'O login foi cancelado.'+ provider-error: 'O provedor de login relatou um problema. Tente novamente.'+ provider-disabled: 'Esse método de login não está disponível.'+ invalid-state: 'Esse link de login não é mais válido. Tente novamente.'+ exchange-failed: 'Não foi possível contatar o provedor de login. Tente novamente.'+ expired: 'Essa sessão de login expirou. Tente novamente.'+ hosted-domain: 'Sua conta não pertence a um domínio permitido.'+ registration-disabled: 'Novos cadastros não estão disponíveis.'+ link-required: 'Já existe uma conta com este e-mail. Entre e vincule este provedor nas configurações da sua conta.'+ customer-account: 'Contas de cliente devem entrar pelo portal do cliente.'+ not-verified: 'Sua conta precisa ser verificada para continuar.'+ rate-limited: 'Muitas tentativas. Tente novamente em breve.'slow-connection-message: Problemas de conexão detectados.reset-password:success-message: Sua senha foi redefinida! Faça login para continuar.@@ -741,6 +760,7 @@ onboard:password-help-text: Sua senha, certifique-se de que seja uma boa.confirm-password: Confirme sua senhaconfirm-password-help-text: Apenas para confirmar a senha que você digitou acima.+ oauth-verified: 'Sua identidade foi verificada. Não é necessária senha — você entrará com seu provedor.'continue-button-text: Continuarverify-email:header-title: Verificação de Contadiff --git a/console/translations/ru-ru.yaml b/console/translations/ru-ru.yamlindex 05a56af2..9a619cbe 100644--- a/console/translations/ru-ru.yaml+++ b/console/translations/ru-ru.yaml@@ -575,6 +575,25 @@ auth:forgot-password-label: Забыли пароль?sign-in-button: Войтиcreate-account-button: Создать новый аккаунт+ oauth:+ divider: 'Или продолжить через'+ continue-with: 'Продолжить через {provider}'+ signing-in: 'Выполняется вход...'+ finish-signup: 'Завершите настройку учётной записи Fleetbase, чтобы продолжить.'+ errors:+ generic: 'Не удалось завершить вход. Попробуйте ещё раз.'+ access-denied: 'Вход отменён.'+ provider-error: 'Поставщик входа сообщил об ошибке. Попробуйте ещё раз.'+ provider-disabled: 'Этот способ входа недоступен.'+ invalid-state: 'Эта ссылка для входа больше недействительна. Попробуйте ещё раз.'+ exchange-failed: 'Не удалось связаться с поставщиком входа. Попробуйте ещё раз.'+ expired: 'Срок действия сессии входа истёк. Попробуйте ещё раз.'+ hosted-domain: 'Ваша учётная запись не принадлежит разрешённому домену.'+ registration-disabled: 'Регистрация новых пользователей недоступна.'+ link-required: 'Учётная запись с этим адресом электронной почты уже существует. Войдите и привяжите этого поставщика в настройках учётной записи.'+ customer-account: 'Клиентские учётные записи должны входить через клиентский портал.'+ not-verified: 'Для продолжения необходимо подтвердить учётную запись.'+ rate-limited: 'Слишком много попыток. Повторите попытку позже.'slow-connection-message: Проблемы с подключением.reset-password:success-message: Ваш пароль был сброшен! Войдите, чтобы продолжить.@@ -743,6 +762,7 @@ onboard:password-help-text: Ваш пароль, убедитесь, что он надежный.confirm-password: Подтвердите парольconfirm-password-help-text: Просто подтвердите пароль, который вы ввели выше.+ oauth-verified: 'Ваша личность подтверждена. Пароль не нужен — вы будете входить через своего поставщика.'continue-button-text: Продолжитьverify-email:header-title: Подтверждение аккаунтаdiff --git a/console/translations/uz-uz.yaml b/console/translations/uz-uz.yamlindex d9eae26a..d11ed92d 100644--- a/console/translations/uz-uz.yaml+++ b/console/translations/uz-uz.yaml@@ -589,6 +589,25 @@ auth:forgot-password-label: Parolingizni unutdingizmi?sign-in-button: Kirishcreate-account-button: Yangi hisob yaratish+ oauth:+ divider: 'Yoki davom eting'+ continue-with: '{provider} bilan davom etish'+ signing-in: 'Tizimga kirilmoqda...'+ finish-signup: 'Davom etish uchun Fleetbase hisobingizni sozlashni yakunlang.'+ errors:+ generic: 'Kirishni yakunlab bo‘lmadi. Qaytadan urinib ko‘ring.'+ access-denied: 'Kirish bekor qilindi.'+ provider-error: 'Kirish provayderi xatolik haqida xabar berdi. Qaytadan urinib ko‘ring.'+ provider-disabled: 'Bu kirish usuli mavjud emas.'+ invalid-state: 'Bu kirish havolasi endi yaroqli emas. Qaytadan urinib ko‘ring.'+ exchange-failed: 'Kirish provayderiga ulanib bo‘lmadi. Qaytadan urinib ko‘ring.'+ expired: 'Bu kirish seansi muddati tugagan. Qaytadan urinib ko‘ring.'+ hosted-domain: 'Hisobingiz ruxsat etilgan domenga tegishli emas.'+ registration-disabled: 'Yangi ro‘yxatdan o‘tish mavjud emas.'+ link-required: 'Bu e-pochta bilan hisob allaqachon mavjud. Tizimga kiring va hisob sozlamalaridan ushbu provayderni bog‘lang.'+ customer-account: 'Mijoz hisoblari mijozlar portali orqali kirishi kerak.'+ not-verified: 'Davom etish uchun hisobingiz tasdiqlanishi kerak.'+ rate-limited: 'Urinishlar juda ko‘p. Birozdan so‘ng qayta urinib ko‘ring.'slow-connection-message: Ulanish muammolari yuzaga kelmoqda.reset-password:success-message: Parolingiz tiklandi! Davom etish uchun tizimga kiring.@@ -755,6 +774,7 @@ onboard:password-help-text: Sizning parolingiz, yaxshi ekanligiga ishonch hosil qiling.confirm-password: Parolingizni tasdiqlangconfirm-password-help-text: Yuqorida kiritgan parolingizni tasdiqlash uchun.+ oauth-verified: 'Shaxsingiz tasdiqlandi. Parol kerak emas — provayderingiz orqali kirasiz.'continue-button-text: Davom etishverify-email:header-title: Hisobni tekshirishdiff --git a/console/translations/vi-vn.yaml b/console/translations/vi-vn.yamlindex 9bf5e4d1..b7b053de 100644--- a/console/translations/vi-vn.yaml+++ b/console/translations/vi-vn.yaml@@ -578,6 +578,25 @@ auth:forgot-password-label: Quên mật khẩu?sign-in-button: Đăng nhậpcreate-account-button: Tạo tài khoản mới+ oauth:+ divider: 'Hoặc tiếp tục với'+ continue-with: 'Tiếp tục với {provider}'+ signing-in: 'Đang đăng nhập...'+ finish-signup: 'Hoàn tất thiết lập tài khoản Fleetbase của bạn để tiếp tục.'+ errors:+ generic: 'Không thể hoàn tất đăng nhập. Vui lòng thử lại.'+ access-denied: 'Đăng nhập đã bị hủy.'+ provider-error: 'Nhà cung cấp đăng nhập báo lỗi. Vui lòng thử lại.'+ provider-disabled: 'Phương thức đăng nhập này không khả dụng.'+ invalid-state: 'Liên kết đăng nhập này không còn hiệu lực. Vui lòng thử lại.'+ exchange-failed: 'Không thể kết nối tới nhà cung cấp đăng nhập. Vui lòng thử lại.'+ expired: 'Phiên đăng nhập đã hết hạn. Vui lòng thử lại.'+ hosted-domain: 'Tài khoản của bạn không thuộc miền được phép.'+ registration-disabled: 'Hiện không mở đăng ký mới.'+ link-required: 'Đã tồn tại tài khoản với email này. Hãy đăng nhập và liên kết nhà cung cấp này trong cài đặt tài khoản.'+ customer-account: 'Tài khoản khách hàng phải đăng nhập qua cổng khách hàng.'+ not-verified: 'Tài khoản của bạn cần được xác minh để tiếp tục.'+ rate-limited: 'Quá nhiều lần thử. Vui lòng thử lại sau giây lát.'slow-connection-message: Gặp sự cố kết nối.reset-password:success-message: Mật khẩu của bạn đã được đặt lại! Đăng nhập để tiếp tục.@@ -746,6 +765,7 @@ onboard:password-help-text: Mật khẩu của bạn, hãy đảm bảo nó đủ mạnh.confirm-password: Xác nhận mật khẩuconfirm-password-help-text: Chỉ để xác nhận mật khẩu bạn đã nhập ở trên.+ oauth-verified: 'Danh tính của bạn đã được xác minh. Không cần mật khẩu — bạn sẽ đăng nhập bằng nhà cung cấp.'continue-button-text: Tiếp tụcverify-email:header-title: Xác minh tài khoảndiff --git a/console/translations/zh-cn.yaml b/console/translations/zh-cn.yamlindex 01d4b9a1..5b9563ac 100644--- a/console/translations/zh-cn.yaml+++ b/console/translations/zh-cn.yaml@@ -553,6 +553,25 @@ auth:forgot-password-label: 忘记密码?sign-in-button: 登录create-account-button: 创建新账户+ oauth:+ divider: '或使用以下方式继续'+ continue-with: '使用 {provider} 继续'+ signing-in: '正在登录...'+ finish-signup: '请完成 Fleetbase 账户设置以继续。'+ errors:+ generic: '无法完成登录,请重试。'+ access-denied: '登录已取消。'+ provider-error: '登录服务提供方报告了一个问题,请重试。'+ provider-disabled: '该登录方式不可用。'+ invalid-state: '该登录链接已失效,请重试。'+ exchange-failed: '无法连接到登录服务提供方,请重试。'+ expired: '该登录会话已过期,请重试。'+ hosted-domain: '您的账户不属于允许的域。'+ registration-disabled: '当前不开放新用户注册。'+ link-required: '该邮箱已存在账户。请登录后在账户设置中关联此登录方式。'+ customer-account: '客户账户必须通过客户门户登录。'+ not-verified: '您的账户需要通过验证才能继续。'+ rate-limited: '尝试次数过多,请稍后重试。'slow-connection-message: 网络连接不稳定。reset-password:success-message: 密码已重置!请登录继续。@@ -714,6 +733,7 @@ onboard:password-help-text: 您的密码,请确保密码安全。confirm-password: 确认密码confirm-password-help-text: 确认您上面输入的密码。+ oauth-verified: '您的身份已验证。无需密码,您将使用该登录方式登录。'continue-button-text: 继续verify-email:header-title: 账户验证