trustgraph/specs/api/security/bearerAuth.yaml

13 lines
284 B
YAML
Raw Normal View History

type: http
scheme: bearer
description: |
Bearer token authentication.
Set via `GATEWAY_SECRET` environment variable on the gateway.
If `GATEWAY_SECRET` is not set, authentication is disabled (development mode).
Example:
```
Authorization: Bearer your-secret-token
```