Laravel EnsoLaravel Enso
Guide
Back End
Front End
GitHub
Guide
Back End
Front End
GitHub
  • Front End

    • Accessories
    • Addresses
    • Algolia
    • Audits
    • Auth
    • Bookmarks
    • Calendar
    • Card
    • Cargo Partner
    • Categories
    • Charts
    • Checkbox
    • Clipboard
    • Comments
    • Commercial
    • Companies
    • Confirmation
    • Currencies
    • Data Import
    • Date
    • Datepicker
    • Directives
    • Discounts
    • Divider
    • Documents
    • Dropdown
    • Dropdown Indicator
    • Eav
    • Emag
    • Emails
    • Enums
    • ERD
    • Facebook
    • Files
    • Filters
    • Financials
    • Forms
    • Frisbo
    • Google
    • Holidays
    • How to
    • Interactions
    • Inventory
    • IO
    • Laravel Validation
    • Loader
    • Localisation
    • Logs
    • Measurement Units
    • Meili Search
    • Menus
    • Mixins
    • Modal
    • Money
    • Monitored Emails
    • Notifications
    • Orderable Trees
    • Packaging Units
    • Pagination
    • People
    • Permissions
    • Product Lots
    • Products
    • Progress Bar
    • Progress Circle
    • Progress Indicator
    • Questionnaires
    • Quick View
    • Range Slider
    • Rating
    • Roles
    • Route Mapper
    • Sale Channels
    • Scroll to Top
    • Search Mode
    • Select
    • Sentry
    • Services
    • Smart Bill
    • SMS Advert
    • Strings
    • Switch
    • Tables
    • Tabs
    • Tasks
    • Teams
    • Textarea
    • Themes
    • Ticketing
    • Toastr
    • Transitions
    • Tree View
    • Tutorials
    • Typeahead
    • Typesense
    • UI
    • Uploader
    • UPS
    • User Groups
    • Users
    • Virtual Call Center
    • Vouchers
    • Webshop
    • WYSIWYG

Auth

LicenseStableDownloadsVueJavaScriptSCSSnpmIssuesMerge 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 PasswordStrength 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

Password entropy helper component 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

  • @enso-ui/directives ↗
  • @enso-ui/forms ↗
  • @enso-ui/laravel-validation ↗
  • @enso-ui/ui ↗

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

Edit this page on GitHub
Last Updated: 4/21/2026, 9:57:25 AM
Prev
Audits
Next
Bookmarks