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

@vecrea/au3te-ts-server

v0.1.4

Published

A TypeScript library for implementing OAuth 2.0 and OpenID Connect authorization servers using Authlete's API.

Readme

au3te-ts-server

A TypeScript library for implementing OAuth 2.0 and OpenID Connect authorization servers using Authlete's API.

Features

  • OAuth 2.0 Support: Full implementation of OAuth 2.0 authorization server endpoints
  • OpenID Connect: Complete OpenID Connect Core 1.0 implementation
  • Credential Issuance: Support for Verifiable Credential issuance (OpenID4VC)
  • TypeScript: Fully typed with TypeScript for better developer experience
  • Modular Design: Modular architecture for easy customization and extension
  • Multiple Grant Types: Support for various OAuth 2.0 grant types including:
    • Authorization Code Grant
    • Resource Owner Password Credentials Grant
    • Token Exchange (RFC 8693)
    • JWT Bearer Token (RFC 7523)

Installation

Prerequisites

  • Node.js 18 or higher
  • npm or yarn
  • Authlete service account

Using npm

npm install @vecrea/au3te-ts-server

Using yarn

yarn add @vecrea/au3te-ts-server

Peer Dependencies

This library has the following peer dependencies that need to be installed separately:

  • @vecrea/au3te-ts-common: Common types, interfaces, and utilities
  • @vecrea/oid4vc-core: OpenID4VC core functionality
  • u8a-utils: Uint8Array utilities
  • zod: TypeScript-first schema validation

Install them with:

npm install @vecrea/au3te-ts-common @vecrea/oid4vc-core u8a-utils zod

Or with yarn:

yarn add @vecrea/au3te-ts-common @vecrea/oid4vc-core u8a-utils zod

API Reference

Core Modules

  • /api: API client for communicating with Authlete services
  • /handler: Core handler interfaces and utilities
  • /handler.par: Pushed Authorization Request handlers
  • /handler.authorization: Authorization endpoint handlers
  • /handler.authorization-decision: Authorization decision handlers
  • /handler.authorization-issue: Authorization issue handlers
  • /handler.authorization-fail: Authorization fail handlers
  • /handler.credential: Base credential handlers
  • /handler.token: Token endpoint handlers
  • /handler.token-issue: Token issue handlers
  • /handler.token-fail: Token fail handlers
  • /handler.token-create: Token create handlers
  • /handler.introspection: Token introspection handlers
  • /handler.service-configuration: Service configuration handlers
  • /handler.credential-metadata: Credential metadata handlers
  • /handler.credential-single-parse: Credential single parse handlers
  • /handler.credential-single-issue: Credential single issue handlers
  • /handler.credential-issuer-jwks: Credential issuer JWKS handlers
  • /handler.service-jwks: Service JWKS handlers
  • /extractor: Request parameter extraction utilities
  • /session: Session management
  • /utils: Utility functions

Detailed Handler Documentation

For detailed information on how to create and use HandlerConfigurations for each endpoint, see the Handler Configuration Guide.

Development

Prerequisites

git clone https://github.com/dentsusoken/au3te-ts-common
cd au3te-ts-common
npm install
npm run build
npm link
cd ..

Setup

git clone https://github.com/dentsusoken/au3te-ts-server
cd au3te-ts-server
npm install
npm link @vecrea/au3te-ts-common
npm run build
npm link
cd ..

Testing

npm test

Building

npm run build

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests for new functionality
  5. Run the test suite
  6. Submit a pull request

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Support

For support and questions, please open an issue on the GitHub repository.