Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@loopback/authentication
Advanced tools
A LoopBack 4 component for authentication support. Its corresponding documentation is in LoopBack component authentication
This component contains the core logic for the authentication layer in LoopBack 4.
It contains:
npm install --save @loopback/authentication
Load the AuthenticationComponent into your application.
Extension developers need to:
Application Developers need to:
Create and register a passport based strategy
For detailed documentation, see AuthenticationComponent.
For a tutorial on how to add JWT authentication to an application, see How to secure your LoopBack 4 application with JWT authentication.
For some background on our design decisions, please read Multiple Authentication strategies.
Starting from version @loobpack/authentication@3.0.0
, UserProfile
needs to
be imported from @loopback/security and it's not backward compatible with the
one exported from @loobpack/authentication@2.x
. Make sure you follow the
new tutorial
to build the authentication system.
run npm test
from the root folder.
See all contributors.
MIT
FAQs
A LoopBack component for authentication support.
We found that @loopback/authentication demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.