
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
NodeJS library for interfacing with Auth Rocket.
authrocket.js
?Authrocket.js requires including jQuery and is therefore not a useful solution for running on NodeJS or within a front end project that doesn't use jQuery. Also, the API for the default AuthRocket library only provides methods for LoginRocket actions as it is for client side usage only.
Warning: Not officially supported by Auth Rocket.
npm install --save authrocket
NodeJS
var AuthRocket = require('authrocket');
ES6
import AuthRocket from 'authrocket';
Browser
<script src="node_modules/authrocket/dist/authrocket.js"></script>
<!--
Also available through CDN using:
<script src="http://cdn.prue.io/authrocket/latest/authrocket.js"></script>
-->
//Create new authrocket instance with authrocket.js URL
var authrocket = new AuthRocket({jsUrl: 'https://zzzzzzzzz.e1.loginrocket.com/v1/'});
Config variables can be set when you are creating your AuthRocket instance or through environment variables. Using environment variables is suggested for variables that should be kept private, such as your JWT secret.
Options Variable: jsUrl
Environment Variable: AUTHROCKET_JS_URL
Options Variable: accountId
Environment Variable: AUTHROCKET_ACCOUNT_ID
Options Variable: apiKey
Environment Variable: AUTHROCKET_API_KEY
Options Variable: realmId
Environment Variable: AUTHROCKET_REALM_ID
Options Variable: apiUrl
Environment Variable: AUTHROCKET_API_URL
Options Variable: jwtSecret
Environment Variable: AUTHROCKET_JWT_SECRET
FAQs
Library for interfacing with AuthRocket service.
The npm package authrocket receives a total of 0 weekly downloads. As such, authrocket popularity was classified as not popular.
We found that authrocket demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.