https://github.com/aabbdev/authrider
The bodyguard for your unprotected services
https://github.com/aabbdev/authrider
auth0 authentication authorization jwt nginx reverse-proxy traefik
Last synced: about 1 month ago
JSON representation
The bodyguard for your unprotected services
- Host: GitHub
- URL: https://github.com/aabbdev/authrider
- Owner: aabbdev
- License: mit
- Created: 2022-12-09T12:48:43.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-11T18:53:09.000Z (over 3 years ago)
- Last Synced: 2025-05-18T19:39:34.060Z (about 1 year ago)
- Topics: auth0, authentication, authorization, jwt, nginx, reverse-proxy, traefik
- Language: Python
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# authrider
Authrider is the perfect bodyguard for validating JWT Tokens on your favorite reverse proxy like NGINX, Traefik.
#### Install with Docker
```bash
docker run -d --pull=always --name=authrider-1 --rm -p 3000:3000 -e JWT_ALGORITHM='HS256' -e JWT_SECRET='mysecret' ghcr.io/aabbdev/authrider:main
```
#### Environment variables
- JWT_ALGORITHM='HS256' (available algorithms: HS256, HS384, HS512, RS256, RS384, RS512, ES256, ES256K, ES384, ES521, ES512, PS256, PS384, PS512, EdDSA) *
- JWT_SECRET='YOUR SECRET or -----BEGIN PUBLIC KEY-----...' or JWKS_URL = "https:///.well-known/jwks.json" *
- JWT_CLAIMS='X-User:sub;X-Profile:profile' (Optional)
- JWT_ISSUER='https://authprovider.com' (Optional)
- JWT_AUDIENCE='http://localhost' (Optional)
#### Install with Docker compose
```yaml
version: '3.9'
services:
authrider:
image: ghcr.io/aabbdev/authrider:main
environment:
- JWT_SECRET=
- JWT_ALGORITHM=HS256
- JWT_CLAIMS=X-User:sub
ports:
- "3000:3000"
```