Express middleware for authenticating requests using WeDeploy Auth service. Supports multiple authentication methods including Basic Auth, OAuth2 bearer tokens (header, query string, cookie). Version 3.2.0 is the latest stable release. Integrates with WeDeploy platform for federated identity providers. Requires Node.js >= 7.6.0. Note: WeDeploy service is deprecated; use only for legacy systems.
npm install wedeploy-middlewareNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Sets up Express app with WeDeploy auth middleware, protecting a private route.
Migrate to a different authentication middleware like passport.js.
Use app.use(middleware) to apply globally.
Set 'unauthorizedOnly' only on routes where no user should be logged in.
Use require() instead of import.
Run: npm install wedeploy-middleware