Registry / auth-security / auth-redirect

auth-redirect

JSON →
library0.0.4jsnpmunverified

auth-redirect is a Seneca internal module for handling authentication redirects. Version 0.0.4 is the latest stable release. It is designed to be used internally by seneca-auth and is not intended for direct use. Release cadence is low; it is a minor utility within the Seneca ecosystem. Key differentiator: it is a plugin that is automatically loaded by seneca-auth, removing the need for manual setup.

auth-security
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ESM import; its a named export. Only used internally by seneca-auth.

import { authRedirect } from 'auth-redirect'

Default import available; typically not used directly by consumer code.

import authRedirect from 'auth-redirect'

CommonJS pattern: plugin loaded via use() in Seneca. Not typically done manually.

require('seneca').use('auth-redirect')

Initializes Seneca and loads auth-redirect plugin (though normally loaded automatically by seneca-auth).

const Seneca = require('seneca'); const seneca = Seneca(); seneca.use('auth-redirect'); seneca.ready(() => { console.log('auth-redirect plugin loaded'); });
Debug
Known footguns
gotchaauth-redirect is an internal module for seneca-auth and should not be used directly in most cases.
deprecatedThis package is not actively maintained; it is tied to Seneca v3 ecosystem.
gotchaNo documentation beyond README; code may have breaking changes between minor versions.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
20 hits · last 30 days
bytedance
5
gptbot
4
ahrefsbot
4
amazonbot
2
script
1
Resources