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

@emulators/okta

v0.6.0

Published

Okta identity provider emulation with OAuth 2.0 / OIDC, user management, groups, apps, and authorization servers.

Downloads

218

Readme

@emulators/okta

Okta identity provider emulation with OAuth 2.0 / OIDC, user management, groups, apps, and authorization servers.

Part of emulate — local drop-in replacement services for CI and no-network sandboxes.

Install

npm install @emulators/okta

Endpoints

OAuth / OIDC

Default org server and custom authorization server paths (/oauth2/:authServerId/...):

  • GET /.well-known/openid-configuration — OIDC discovery (default)
  • GET /oauth2/:authServerId/.well-known/openid-configuration — per-server discovery
  • GET /oauth2/v1/keys — JSON Web Key Set (JWKS)
  • GET /oauth2/v1/authorize — authorization endpoint
  • POST /oauth2/v1/token — token endpoint
  • GET /oauth2/v1/userinfo — user info
  • POST /oauth2/v1/revoke — token revocation
  • POST /oauth2/v1/introspect — token introspection
  • GET /oauth2/v1/logout — end session

Users

  • GET /api/v1/users — list users
  • POST /api/v1/users — create user
  • GET /api/v1/users/me — current user (from token)
  • GET /api/v1/users/:userId — get user
  • PUT /api/v1/users/:userId — replace user
  • POST /api/v1/users/:userId — partial update
  • DELETE /api/v1/users/:userId — delete user
  • GET /api/v1/users/:userId/groups — list user groups
  • POST /api/v1/users/:userId/lifecycle/activate — activate
  • POST /api/v1/users/:userId/lifecycle/deactivate — deactivate
  • POST /api/v1/users/:userId/lifecycle/suspend — suspend
  • POST /api/v1/users/:userId/lifecycle/unsuspend — unsuspend
  • POST /api/v1/users/:userId/lifecycle/reactivate — reactivate

Groups

  • GET /api/v1/groups — list groups
  • POST /api/v1/groups — create group
  • GET /api/v1/groups/:groupId — get group
  • PUT /api/v1/groups/:groupId — update group
  • DELETE /api/v1/groups/:groupId — delete group
  • GET /api/v1/groups/:groupId/users — list group members
  • PUT /api/v1/groups/:groupId/users/:userId — add user to group
  • DELETE /api/v1/groups/:groupId/users/:userId — remove user from group

Apps

  • GET /api/v1/apps — list apps
  • POST /api/v1/apps — create app
  • GET /api/v1/apps/:appId — get app
  • PUT /api/v1/apps/:appId — update app
  • DELETE /api/v1/apps/:appId — delete app
  • GET /api/v1/apps/:appId/users — list assigned users
  • PUT /api/v1/apps/:appId/users/:userId — assign user
  • DELETE /api/v1/apps/:appId/users/:userId — unassign user
  • POST /api/v1/apps/:appId/lifecycle/activate — activate app
  • POST /api/v1/apps/:appId/lifecycle/deactivate — deactivate app

Authorization Servers

  • GET /api/v1/authorizationServers — list
  • POST /api/v1/authorizationServers — create
  • GET /api/v1/authorizationServers/:authServerId — get
  • PUT /api/v1/authorizationServers/:authServerId — update
  • DELETE /api/v1/authorizationServers/:authServerId — delete
  • POST /api/v1/authorizationServers/:authServerId/lifecycle/activate — activate
  • POST /api/v1/authorizationServers/:authServerId/lifecycle/deactivate — deactivate

Seed Configuration

okta:
  users:
    - login: [email protected]
      email: [email protected]
      firstName: Test
      lastName: User
  groups:
    - name: Everyone
      description: All users
  apps:
    - name: My App
      label: My App
  authorization_servers:
    - name: default
      audiences: ["api://default"]

Links