This package has been deprecated

Author message:

Package no longer supported. Upgrade to @indiekit/endpoint-auth

@indiekit/endpoint-token

1.0.0-alpha.12 • Public • Published

@indiekit/endpoint-token

Token endpoint for Indiekit.

Installation

npm i @indiekit/endpoint-token

Usage

Add @indiekit/endpoint-token to your list of plug-ins, specifying options as required:

{
  "plugins": ["@indiekit/endpoint-token"],
  "@indiekit/endpoint-token": {
    "mountPath": "/jeton" // fr-FR
  }
}

You will also need to set a TOKEN_SECRET environment variable to sign and verify tokens created by this endpoint.

Options

Option Type Description
mountPath string Path to token endpoint. Optional, defaults to /token.

Package Sidebar

Install

npm i @indiekit/endpoint-token

Weekly Downloads

0

Version

1.0.0-alpha.12

License

MIT

Unpacked Size

14.5 kB

Total Files

16

Last publish

Collaborators

  • paulrobertlloyd