Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
The Corbado Node.js library provides convenient access to the Corbado API from applications running on Node.js.
The Corbado Node.js library provides convenient access to the Corbado API from applications running on Node.js.
See the Corbado API Reference and Corbado API-only integration guide to understand the usage of Corbado API.
Node 8 or higher.
npm install corbado --save
The package needs to be configured with your Corbado account's project ID
and API secret
. All the parameters can be obtained from Corbado developer panel.
project ID
and API secret
should be provided when initializing the Corbado module:
const Corbado = require('corbado');
const corbado = new Corbado('pro-xxxx', 'uu....DZ');
Corbado provides several services, e.g. PasskeyService
, SessionService
, EmailLinkService
.
To access specific methods in, e.g. SessionService
, you can call:
corbado.sessionService.verify(sessionToken, clientInfo);
Corbado package also provides several useful utility functions that can ease the development process, e.g.:
corbado.utils.getClientInfo(req);
helps to obtain relevant client information (UserAgent
, RemoteAddress
, etc.) object from an HttpRequest
.
FAQs
The Corbado Node.js library provides convenient access to the Corbado API from applications running on Node.js.
We found that corbado demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.