![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
@nymdev/express-nymag-user
Advanced tools
Readme
Volunteering user information for internal use. This is not authentication; It just looks for a plain-text, unsigned cookie that contains a username and LDAP groups.
All authorization logic is encapsulated in the implementation of isProtected.
NOTE: Use with care. It's the same as user's volunteering their own username, and is not auth. Temporary until OAuth.
If redirect_to does not retun valid url (e.g. if host is not defined) and the request should be blocked, the middleware protects via 403.
const express = require('express'),
app = express(),
expressNYMagUser = require('@nymdev/express-nymag-user'),
authServer = 'http://some_auth_server/login?redirect_to=';
app.use(expressNYMagUser({
redirectTo: function (originalUrl) {
return authServer + encodeURIComponent(originalUrl);
},
isProtected: function (req) {
return !!req.query.edit;
}
}));
npm install --save @nymdev/express-nymag-auth
FAQs
Handles in-house user identification as middleware for express via a cookie
The npm package @nymdev/express-nymag-user receives a total of 2 weekly downloads. As such, @nymdev/express-nymag-user popularity was classified as not popular.
We found that @nymdev/express-nymag-user demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.