
Security News
RubyGems Adds Cooldown Feature to Bundler for Newly Published Gems
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.
@supertokens-plugins/rownd-nodejs
Advanced tools
This plugin facilitates the migration of users and sessions from Rownd to SuperTokens.
npm install @supertokens-plugins/rownd-nodejs
Initialize the plugin in your SuperTokens backend configuration.
[!IMPORTANT] This plugin requires the
SessionandUserMetadatarecipes to be initialized in your SuperTokens configuration.
import SuperTokens from "supertokens-node";
import Session from "supertokens-node/recipe/session";
import UserMetadata from "supertokens-node/recipe/usermetadata";
import RowndMigrationPlugin from "@supertokens-plugins/rownd-nodejs";
SuperTokens.init({
appInfo: {
// your app info
},
recipeList: [
Session.init(),
UserMetadata.init(),
// your other recipes
],
experimental: {
plugins: [
RowndMigrationPlugin.init({
rowndAppKey: process.env.ROWND_APP_KEY,
rowndAppSecret: process.env.ROWND_APP_SECRET,
enableDebugLogs: process.env.ENABLE_DEBUG_LOGS === "true",
}),
],
},
});
The plugin exposes a single endpoint:
[!IMPORTANT] The plugin always migrates users and sessions into the
publictenant. Rownd users with multiple supported login methods are rejected unless SuperTokens account linking is enabled in the target environment.
/plugin/rownd/migrateAuthorization: Bearer <Rownd_JWT>public tenant, syncs Rownd user data to SuperTokens UserMetadata, and then creates a new SuperTokens session for that user.Set enableDebugLogs: true in the plugin config to enable debug logging.
Telemetry is optional. If telemetry is omitted from the plugin config, no telemetry is emitted.
The plugin emits exactly one telemetry event per /migrate call result.
Each event includes endpoint outcome data only (not step-by-step events), including:
operation: migrateoutcome: success or errordurationMstenantId (when available)rowndUserId (when available)superTokensUserId (when available)migrationState: already-migrated or imported-during-request (when available)error.message and error.name[!NOTE] Telemetry failures never fail migration endpoints. Errors in telemetry reporting are swallowed.
RowndMigrationPlugin.init({
rowndAppKey: process.env.ROWND_APP_KEY,
rowndAppSecret: process.env.ROWND_APP_SECRET,
telemetry: {
provider: "opentelemetry",
},
});
[!IMPORTANT] This plugin uses
@opentelemetry/apionly. You still need to initialize OpenTelemetry SDK/exporters in your app for spans to be exported.
RowndMigrationPlugin.init({
rowndAppKey: process.env.ROWND_APP_KEY,
rowndAppSecret: process.env.ROWND_APP_SECRET,
telemetry: {
provider: "axiom",
token: process.env.AXIOM_TOKEN!,
dataset: process.env.AXIOM_DATASET!,
// optional, defaults to https://api.axiom.co/v1/datasets
// url: "https://api.axiom.co/v1/datasets",
},
});
RowndMigrationPlugin.init({
rowndAppKey: process.env.ROWND_APP_KEY,
rowndAppSecret: process.env.ROWND_APP_SECRET,
telemetry: {
provider: "custom",
factory: () => ({
recordEvent: async (event) => {
// send to your telemetry backend
},
}),
},
});
The package includes a bulk migration script for importing Rownd users into SuperTokens.
The script now runs directly from a YAML config file that lives beside the script:
packages/rownd-nodejs/scripts/config.yamlpackages/rownd-nodejs/scripts/bulkMigrate.tsscripts/config.yaml with your Rownd and SuperTokens credentials.packages/rownd-nodejs.npm run bulk-import
The script:
zodmapRowndUserToSuperTokensAll runtime config is read from scripts/config.yaml.
There is no environment variable parsing.
FAQs
Rownd User Migration Plugin for SuperTokens
The npm package @supertokens-plugins/rownd-nodejs receives a total of 333 weekly downloads. As such, @supertokens-plugins/rownd-nodejs popularity was classified as not popular.
We found that @supertokens-plugins/rownd-nodejs demonstrated a healthy version release cadence and project activity because the last version was released less than 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
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.

Security News
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.