@enso-ui/auth

Authentication pages, auth store helpers, and password-strength utilities for Enso UI.
11,552
Install
npm install @enso-ui/auth
Latest Version:3.1.24
Vue:3
Older releases:2
License:MIT
Last Updated:Apr 28, 2026
Links: GitHub  ·  npm
Maintainer: aocneanu

Auth

License Stable Downloads Vue JavaScript SCSS npm Issues Merge Requests

Description

Authentication pages, auth store helpers, and password-strength utilities for Enso UI.

Installation

Install the package:

yarn add @enso-ui/auth

This package is also available through the full enso-ui workspace bundle.

Features

  • exports a lightweight PasswordStrength meter from the root package entry
  • ships guest-only auth routes for login and password reset flows
  • includes a Pinia auth store for login/logout state and intended-route handling
  • registers the auth store bootstrap through src/bulma/register.js

Usage

import { PasswordStrength } from '@enso-ui/auth';

API

PasswordStrength

Lightweight password strength meter used by reset and registration forms.

Import: @enso-ui/auth

Props:

  • password: string

auth()

Pinia auth store.

Import: @enso-ui/auth/src/pinia/auth.js

Actions:

  • login()
  • setIntendedRoute(value)
  • setIntendedPath(value)
  • logoutState()
  • logout()

register()

Bootstrap helper that initializes the auth store in the Bulma shell.

Import: @enso-ui/auth/src/bulma/register.js

Routes

Guest auth pages

Route names:

  • login
  • password.email
  • password.reset

Pages:

  • src/bulma/pages/auth/Login.vue
  • src/bulma/pages/auth/password/EmailResetLink.vue
  • src/bulma/pages/auth/password/Reset.vue

The route module guards all three routes with a guest redirect. The package also ships the shared Auth layout and the reusable AuthForm building block.

Backend Integration

The package expects the host Laravel application to expose the standard auth endpoints used by the form pages:

  • login
  • password.email
  • password.reset
  • /api/logout

Depends On

Contributions

are welcome. Pull requests are great, but issues are good too.

Thank you to all the people who already contributed to Enso!

License

MIT

Related Packages

vue-firebase

Vue Firebase

1,691 2
vue-adal

Vue plugin for using Azure Active Directory

16,922 105
@authon/nuxt

Authon Nuxt 3 module — auto-imported composables and middleware

2,931 1

Version History

Version Released Vue License
3.1.24 ^3.5.0 MIT
3.1.22 ^3.5.0 MIT
3.1.20 ^3.5.0 MIT
3.1.19 ^3.5.0 MIT
3.1.18 ^3.5.0 MIT