https://github.com/wdalmut/forward-auth-js
Example of forward authentication
https://github.com/wdalmut/forward-auth-js
authentication express-middleware forward-auth middleware
Last synced: about 1 year ago
JSON representation
Example of forward authentication
- Host: GitHub
- URL: https://github.com/wdalmut/forward-auth-js
- Owner: wdalmut
- Created: 2019-12-09T08:35:22.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T11:31:45.000Z (over 3 years ago)
- Last Synced: 2025-03-06T08:56:49.229Z (about 1 year ago)
- Topics: authentication, express-middleware, forward-auth, middleware
- Language: JavaScript
- Size: 37.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Forward Auth
Simple forward authentication example
```sh
npm i --save @wdalmut/forward-auth
```
## Usage
```js
forward("https://user.myendpoint.corley.it/v1/me")
```
## Usage with @wdalmut/mini-auth
```js
auth(forward("https://user.myendpoint.corley.it/v1/me"))
```