
Product
Socket MCP Adds Org Alerts, Threat Feed Review, and Package Inspection
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.
kerliix-oauth
Advanced tools
Official Kerliix OAuth 2.0 SDK for Node.js and Browser
Kerliix OAuth provides a simple and secure way to integrate Kerliix authentication into your Node.js or browser-based apps. It handles the full OAuth 2.0 flow including:
Built with TypeScript, compatible with both Node.js and browser environments.
npm install kerliix-oauth
or using yarn:
yarn add kerliix-oauth
import KerliixOAuth from "kerliix-oauth";
const client = new KerliixOAuth({
clientId: "YOUR_CLIENT_ID",
clientSecret: "YOUR_CLIENT_SECRET",
redirectUri: "https://yourapp.com/callback",
baseUrl: "https://api.kerliix.com"
});
// Step 1: Redirect user to login
const authUrl = client.getAuthUrl(["openid", "profile", "email"]);
console.log("Login via:", authUrl);
// Step 2: Exchange the code for tokens
// const token = await client.exchangeCodeForToken("OAUTH_CODE");
// Step 3: Fetch user profile
// const user = await client.getUserInfo(token.access_token);
| Option | Required | Description |
|---|---|---|
clientId | ✅ | Your app’s client ID from Kerliix developer portal |
clientSecret | ⚙️ | Required for server-side (authorization code flow) |
redirectUri | ✅ | The callback URI registered in your app |
baseUrl | ✅ | Your Kerliix OAuth base URL, e.g. https://auth.kerliix.com |
getAuthUrl()?code=XYZexchangeCodeForToken(code)getUserInfo()new KerliixOAuth(config)Initializes the client.
const client = new KerliixOAuth({
clientId: "...",
clientSecret: "...",
redirectUri: "...",
baseUrl: "https://api.kerliix.com"
});
getAuthUrl(scopes?: string[], state?: string): stringGenerates an authorization URL for login/consent.
const url = client.getAuthUrl(["openid", "profile", "email"], "xyz123");
exchangeCodeForToken(code: string): Promise<TokenResponse>Exchanges an authorization code for access and refresh tokens.
refreshTokenIfNeeded(): Promise<TokenResponse | null>Checks if the token is expiring and automatically refreshes it if needed.
getUserInfo(accessToken?: string): Promise<UserInfo>Fetches the user’s profile data using a valid access token.
revokeToken(token: string): Promise<boolean>Revokes an access or refresh token.
The SDK automatically caches tokens in memory and:
MIT © Kerliix Corporation
FAQs
Official Kerliix OAuth SDK for Node.js and browser
We found that kerliix-oauth demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.

Research
More than 140 Mastra npm packages were compromised in a supply chain attack that used a typosquatted dependency to deliver a cross-platform infostealer during installation.