npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@intflow/auth-sdk

v0.2.2

Published

Intflow Auth relying application SDK.

Readme

@intflow/auth-sdk

Intflow Auth와 연동하는 사내 앱 백엔드용 OAuth/OIDC SDK입니다. 로그인 URL과 PKCE를 만들고, authorization code를 교환하고, Intflow 토큰을 검증하고, app_roles로 앱 관리자 권한을 확인합니다.

요구 사항

  • Node.js 20 이상
  • Intflow Auth에 등록한 OAuth client

설치

npm install @intflow/auth-sdk

같은 SDK를 스코프 없는 이름 intflow-auth-sdk로도 설치할 수 있습니다.

사용 예

import { createTokenVerifier, requireAppRole } from "@intflow/auth-sdk";

const verifier = createTokenVerifier({ audience: "<oauth-client-id>" });
const verified = await verifier.verifyAccessToken(accessToken);
const identity = await verifier.verifyIdToken(idToken, { accessToken, expectedNonce: storedNonce });
requireAppRole(verified.payload, "admin");

앱 백엔드에서 access token과 ID token을 검증하고 앱 관리자 역할을 요구합니다. 운영자 Admin API 토큰과 OAuth client secret은 브라우저 코드에 넣지 않고, 민감한 권한 판단은 앱 백엔드에서 합니다.

문서

  • 로그인 URL, callback, code 교환, refresh 예제와 안전 규칙: 저장소 yeon3724/intflow-auth의 docs/architecture.md (Relying SDK, 영어)
  • 로컬 예제: 저장소의 examples/node-sdk-consumer
  • 저장소: yeon3724/intflow-auth (읽기 전용 미러 intflow/intflow-auth)