{"library":"we-plugin-auth","type":"library","category":null,"description":"we-plugin-auth is an authentication plugin for the We.js Node.js MVC framework, providing integration with Passport.js for various authentication strategies, including local username/password, and remembering user sessions. It handles core authentication routes and mechanisms within a We.js application. The current stable version is 2.3.4. However, the core We.js framework is officially deprecated, with a recommendation to use a Golang port (`@go-catupiri`). Consequently, `we-plugin-auth` and its ecosystem are no longer actively maintained and should be considered deprecated for new projects or ongoing development. Its release cadence has ceased with the deprecation of We.js. Key differentiators included its deep integration with the We.js configuration system and opinionated approach to authentication within that framework.","language":"javascript","status":"deprecated","version":"2.3.4","tags":["javascript","authentication","wejs-plugin"],"last_verified":"Wed May 27","install":[{"cmd":"npm install we-plugin-auth","imports":["we i we-plugin-auth","// In config/locals.js (or similar We.js configuration file)\nmodule.exports = {\n  passport: {\n    strategies: {\n      local: {\n        // Configure local strategy options here, e.g., usernameField, passwordField\n        usernameField: 'email',\n        passwordField: 'password'\n      },\n      // Additional strategies like 'facebook' or 'google' would be configured here\n      // using respective we-plugin-passport-X plugins.\n    },\n    // General passport options\n    redirectUrlAfterSuccess: '/',\n    redirectUrlAfterFailure: '/login'\n  },\n  // Other We.js configurations...\n};"]},{"cmd":"yarn add we-plugin-auth","imports":[]},{"cmd":"pnpm add we-plugin-auth","imports":[]}],"homepage":null,"github":"https://github.com/wejs/we-plugin-auth","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/we-plugin-auth","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/we-plugin-auth/compatibility"}}