All Projects → potato4d → Nuxt Basic Auth Module

potato4d / Nuxt Basic Auth Module

Licence: mit
Provide basic auth your Nuxt.js application

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Nuxt Basic Auth Module

Libauth
An ultra-lightweight, zero-dependency JavaScript library for Bitcoin, Bitcoin Cash, and Bitauth applications.
Stars: ✭ 205 (-5.96%)
Mutual labels:  authentication
Starter Pack
Combines React (ft. hooks), Redux, Redux-saga and TypeScript with Auth0 as a starting point for modern web apps with solid authentication
Stars: ✭ 209 (-4.13%)
Mutual labels:  authentication
Home
Vue.js 日本ユーザーグループ
Stars: ✭ 214 (-1.83%)
Mutual labels:  nuxt
Vue Org Chart
Manage and publish your interactive organization chart (orgchart), 100% free and no install required: just copy a folder to any location
Stars: ✭ 207 (-5.05%)
Mutual labels:  nuxt
Go Guardian
Go-Guardian is a golang library that provides a simple, clean, and idiomatic way to create powerful modern API and web authentication.
Stars: ✭ 204 (-6.42%)
Mutual labels:  authentication
Sorcery
Magical authentication for Rails 3 & 4
Stars: ✭ 2,345 (+975.69%)
Mutual labels:  authentication
Django Graphql Auth
Django registration and authentication with GraphQL.
Stars: ✭ 200 (-8.26%)
Mutual labels:  authentication
Lock.swift
A Swift & iOS framework to authenticate using Auth0 and with a Native Look & Feel
Stars: ✭ 215 (-1.38%)
Mutual labels:  authentication
Qtfirebase
An effort to bring Google's Firebase C++ API to Qt + QML
Stars: ✭ 208 (-4.59%)
Mutual labels:  authentication
Mosquitto Go Auth
Auth plugin for mosquitto.
Stars: ✭ 212 (-2.75%)
Mutual labels:  authentication
Buefy Shop
A sample shop built with Nuxt, Stripe, Firebase and Serverless Functions
Stars: ✭ 207 (-5.05%)
Mutual labels:  nuxt
Registration Login Spring Hsql
Registration and Login Example with Spring Security, Spring Boot, Spring Data JPA, HSQL, JSP
Stars: ✭ 208 (-4.59%)
Mutual labels:  authentication
Nuxt Shopify
🛍 Seamless Shopify Buy SDK integration with Nuxt.js.
Stars: ✭ 210 (-3.67%)
Mutual labels:  nuxt
Superb
Pluggable HTTP authentication for Swift.
Stars: ✭ 206 (-5.5%)
Mutual labels:  authentication
Passport
Passport module for Nest framework (node.js) 🔑
Stars: ✭ 211 (-3.21%)
Mutual labels:  authentication
Statusfy
A Marvelous Open Source Status Page System
Stars: ✭ 2,577 (+1082.11%)
Mutual labels:  nuxt
Nuxt Juejin Project
仿掘金web网站,使用服务端渲染。主要技术:nuxt + koa + vuex + axios + element-ui 。
Stars: ✭ 209 (-4.13%)
Mutual labels:  nuxt
Apigatewaydemo
🌱 Simple samples that use Ocelot to build API Gateway.
Stars: ✭ 217 (-0.46%)
Mutual labels:  authentication
Auth0 Vue Samples
Auth0 Integration Samples for Vue.js Applications
Stars: ✭ 215 (-1.38%)
Mutual labels:  authentication
Run Aspnetcore Realworld
E-Commerce real world example of run-aspnetcore ASP.NET Core web application. Implemented e-commerce domain with clean architecture for ASP.NET Core reference application, demonstrating a layered application architecture with DDD best practices. Download 100+ page eBook PDF from here ->
Stars: ✭ 208 (-4.59%)
Mutual labels:  authentication

Nuxt.js basic auth module

code style: prettier donate: Patreon License: MIT NPM version All Contributors NPM downloads codecov

f2653ad0d131606c49edb3f605cbf547

Provide basic authentication to your Nuxt.js application

https://www.npmjs.com/package/nuxt-basic-auth-module

Installation

$ yarn add nuxt-basic-auth-module # or npm install

Usage

Edit your nuxt.config.js

export default {
  // ...
  modules: [
    'nuxt-basic-auth-module'
  ],
  basic: {
    name: 'AUTH USER NAME HERE',
    pass: 'AUTH PASSWORD HERE',
    enabled: process.env.BASIC_ENABLED === 'true' // require boolean value(nullable)
  },

  // ...
}

Arguments

enabled

  • type: Boolean
  • default: false
  • required: false

Whether to activate this module. If false, module registration is skipped.

name

  • type: String
  • required: true

Basic Auth user name.

pass

  • type: String
  • required: true

Basic Auth user password.

message

  • type: String,
  • default: 'Please enter username and password'
  • required: false

Message to be displayed during basic authentication.

match

  • type: String(regex literal) | Function
  • required: false

The target path. This allows you to set up basic authentication that is limited to routes that match regular expression literals or where the function returns true.

The function passes req as an argument.

License

MIT

https://github.com/potato4d/nuxt-basic-auth-module/blob/master/LICENSE

Contributors

Thanks goes to these wonderful people (emoji key):

Takuma HANATANI
Takuma HANATANI

💻 🚧 📖 🐛
Anthony Fu
Anthony Fu

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].