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.
@ory/integrations
Advanced tools
This repository contains integrations for connecting with Ory Cloud.
To connect a NextJS (optionally deployed via Vercel) with Ory, do the following in your NextJS App:
$ npm i --save @ory/integrations
Then, add create a file at <your-nextjs-app>/api/.ory/[...paths.ts]
with the
following contents:
import { config, createApiHandler } from '@ory/integrations/nextjs'
export { config }
export default createApiHandler({
/* ... */
})
You need to set the environment variable ORY_SDK_URL
to your
Ory Cloud Project SDK URL. For
a list of available options head over to
src/nextjs/index.ts
.
This package contains several helpers for using the Ory SDKs with TypeScript, JavaScript, and NodeJS.
This package includes type guards for identifying UI nodes.
import {
isUiNodeImageAttributes,
isUiNodeInputAttributes,
isUiNodeScriptAttributes,
isUiNodeTextAttributes,
// ...
} from '@ory/integrations/ui'
// ...
if (isUiNodeImageAttributes(node.attributes)) {
console.log("it is an image": node.attributes.src)
}
This package contains convenience functions for UI nodes:
import { getNodeLabel } from '@ory/integrations/ui'
: Returns the node's
label.import { getNodeId } from '@ory/integrations/ui'
: Returns a node's ID.import { filterNodesByGroups } from '@ory/integrations/ui'
: Filters nodes by
their groups.FAQs
Integrations for Ory Cloud
The npm package @ory/integrations receives a total of 7,476 weekly downloads. As such, @ory/integrations popularity was classified as popular.
We found that @ory/integrations demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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.