1.0.0-alpha.12 • Published 2 years ago
@indiekit/endpoint-token v1.0.0-alpha.12
@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 . |
1.0.0-alpha.7
2 years ago
1.0.0-alpha.6
2 years ago
1.0.0-alpha.10
2 years ago
1.0.0-alpha.12
2 years ago
1.0.0-alpha.9
2 years ago
1.0.0-alpha.8
2 years ago
1.0.0-alpha.5
2 years ago
1.0.0-alpha.0
2 years ago