1.0.0-beta.16 • Published 21 days ago
@indiekit/endpoint-auth v1.0.0-beta.16
@indiekit/endpoint-auth
IndieAuth authentication and authorization endpoint for Indiekit. Grants and verifies access tokens and authenticates users.
Installation
npm i @indiekit/endpoint-auth
Usage
Add @indiekit/endpoint-auth
to your list of plug-ins, specifying options as required:
{
"plugins": ["@indiekit/endpoint-auth"],
"@indiekit/endpoint-auth": {
"mountPath": "/authorize",
},
}
You will also need to set the following environment variables:
SECRET
- used to sign and verify tokens and salt passwordPASSWORD_SECRET
- hashed and salted password used when signing in. You can generate this value by visiting/auth/new-password
Options
Option | Type | Description |
---|---|---|
mountPath | string | Path to authorization endpoint. Optional, defaults to /auth . |
1.0.0-beta.15
21 days ago
1.0.0-beta.16
21 days ago
1.0.0-beta.12
1 month ago
1.0.0-beta.10
1 month ago
1.0.0-beta.8
2 months ago
1.0.0-beta.4
10 months ago
1.0.0-beta.5
9 months ago
1.0.0-beta.6
6 months ago
1.0.0-beta.3
12 months ago
1.0.0-beta.1
1 year ago
1.0.0-beta.0
1 year ago
1.0.0-alpha.18
1 year ago
1.0.0-alpha.17
1 year ago
1.0.0-alpha.16
1 year ago
1.0.0-alpha.15
1 year ago
1.0.0-alpha.13
1 year ago