# Install oauth2-mock-server with npm

Configurable OAuth2/OpenID Connect server for automated testing and development purposes. Version 9.1.0 via npm; verified 2026-06-30.

## Install

```sh
sudo av install npm:oauth2-mock-server
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g oauth2-mock-server
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:oauth2-mock-server
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/oauth2-mock-server>
- **Version:** 9.1.0
- **Source summary:** Configurable OAuth2/OpenID Connect server for automated testing and development purposes
- **Homepage:** <https://github.com/axa-group/oauth2-mock-server#readme>
- **Repository:** <https://github.com/axa-group/oauth2-mock-server>
- **Upstream docs:** <https://github.com/axa-group/oauth2-mock-server#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/oauth2-mock-server/-/oauth2-mock-server-9.1.0.tgz>
- **Issue tracker:** <https://github.com/axa-group/oauth2-mock-server/issues>
- **Published:** 2026-06-30T09:59:08.498Z
- **Last updated:** 2026-06-30T09:59:08.498Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- oauth2-mock-server (cli)
- oauth2-mock-server (alias)

## Dependencies

- basic-auth
- is-plain-obj
- jose

## Build dependencies

- @eslint/js
- @types/basic-auth
- @types/node
- @types/supertest
- @typescript-eslint/eslint-plugin
- @typescript-eslint/parser
- @vitest/coverage-v8
- @vitest/eslint-plugin
- eslint
- eslint-config-prettier
- eslint-import-resolver-typescript
- eslint-plugin-import-x
- eslint-plugin-jsdoc
- eslint-plugin-prettier
- prettier
- supertest
- tsdown
- typescript
- typescript-eslint
- vitest

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 9.1.0
- Package-manager updated: 2026-06-30
- Local data: ok
- Upstream repository: https://github.com/axa-group/oauth2-mock-server
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for oauth2-mock-server. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 9.1.0
- **Version Count:** 44
- **Maintainers:** poveden
- **Author:** Jorge Poveda
- **Publisher:** poveden
- **Engines:** Node: ^22.12 || ^24 || ^26
- **Integrity:** sha512-1Aug6KQhD9IoxyCogFb0XQqovSOhkvOSRUz5Zm98o96H4omt1HEbUMxwzgwl7GO42eh+BqBH/uCbcKIxi4OBbg==
- **Shasum:** 920d2c2f90c796131e98675aa2e229c1db0d602e
- **Unpacked Size:** 98,079
- **File Count:** 0
- **Created At:** 2018-07-27T16:14:49.687Z
- **Latest Published At:** 2026-06-30T09:59:08.498Z
- **Modified At:** 2026-06-30T09:59:08.600Z


## Related links

- [Security and crypto packages](https://pkg.so/security-crypto-tools/) - Matched curated package taxonomy and local package facts.
- [oso](https://pkg.so/npm/oso/) - Security-sensitive metadata or terminology overlaps. Shared terms: auth, cli, security, security-tools.
- [delivery-intel](https://pkg.so/npm/delivery-intel/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, security, security-tools.
- [owasp-dependency-check](https://pkg.so/npm/owasp-dependency-check/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, security, security-tools.

## Sources

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
