
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
@forgerock/sdk-oidc
Advanced tools
A TypeScript library providing utilities for OpenID Connect (OIDC) authentication flows within Ping Identity's JavaScript SDK.
A TypeScript library providing utilities for OpenID Connect (OIDC) authentication flows within Ping Identity's JavaScript SDK.
npm install @forgerock/sdk-oidc
import { createAuthorizeUrl } from '@forgerock/sdk-oidc';
async function initiateLogin() {
const authUrl = await createAuthorizeUrl('https://auth.pingone.com/authorize', {
clientId: 'your-client-id',
redirectUri: 'https://your-app.com/callback',
responseType: 'code',
scope: 'openid profile email',
});
// Redirect the user to the authorization URL
window.location.href = authUrl;
}
The createAuthorizeUrl
function:
createAuthorizeUrl(authorizeUrl, options)
Creates an OIDC-compliant authorization URL for initiating the authentication flow.
Parameters:
authorizeUrl
(string): The base authorization URL for the OIDC provideroptions
(object): Configuration options
clientId
(string): The OAuth client IDredirectUri
(string): The URI to redirect to after authenticationresponseType
(string): The OAuth response type (typically 'code')scope
(string): Space-separated list of requested scopesReturns:
Run nx build @forgerock/sdk-oidc
to build the library.
Run nx test @forgerock/sdk-oidc
to execute the unit tests via Vitest.
FAQs
A TypeScript library providing utilities for OpenID Connect (OIDC) authentication flows within Ping Identity's JavaScript SDK.
The npm package @forgerock/sdk-oidc receives a total of 46 weekly downloads. As such, @forgerock/sdk-oidc popularity was classified as not popular.
We found that @forgerock/sdk-oidc demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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 flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.