Sign in Sign up
npm

nextjs-basic-auth-middleware

Adds basic auth support to Next.js projects using the official middleware approach (with a `middleware` file). Options can be set on the basic auth middleware and overridden using environment variables.

Latest release
Apr 16, 2026
Releases
9
Known CVEs
0
First release
Mar 26, 2020
License
MIT
View on Npm
Repository

Source

labd/nextjs-basic-auth-middleware
Stars
Forks
Open issues

Security score

No OpenSSF Scorecard available for this repository.

Packages from this repo

No other tracked packages from this repository.

Insights

Activity

Total releases
9
Last 12 months
1
Cadence
~6 months
Dependencies
1

Releases per month

last 12 months

Release mix

  • major 3
  • minor 2
  • patch 3
9 releases
Dependencies

Depends on

3.1.1

Used by

Nothing tracked depends on this yet.

Releases
Version Released
3.1.1 patch
3.1.0 minor
3.0.1 patch
3.0.0 major
2.0.0 major
1.0.0 major
0.2.1 patch
0.2.0 minor
0.1.0 initial