View on GitHub

Lightspeed core service

Lightspeed core service

No-op Authentication Modules

Development-only authentication modules that bypass or minimize security checks. These modules are intended for local development and testing only.

Warning: Never use these modules in production environments.

No-op (noop)

Development authentication that completely bypasses security checks.

Configuration

authentication:
  module: noop

Behavior

Use Cases

No-op with Token (noop-with-token)

Development authentication that requires tokens but doesn’t validate them.

Configuration

authentication:
  module: noop-with-token

Behavior

Use Cases

Request Examples

No-op Module

# Basic request (no auth required)
curl http://localhost:8080/v1/query \
  -H "Content-Type: application/json" \
  -d '{"query": "Hello"}'

# With custom user_id
curl "http://localhost:8080/v1/query?user_id=test-user-123" \
  -H "Content-Type: application/json" \
  -d '{"query": "Hello"}'

No-op with Token Module

# Token required but not validated
curl http://localhost:8080/v1/query \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer any-token-value" \
  -d '{"query": "Hello"}'