/vapor-auth-jwt

Provides custom model authentication and authorization through JWT tokens.

Primary LanguageSwiftMIT LicenseMIT

vapor-auth-jwt

Swift Build Status

Provides custom model authentication and authorization through JWT tokens.

Environment Variables

Name Required Default Value (e.g.) Description
JWTAUTH_JWKS_URL - https://YOUR_DOMAIN/.well-known/jwks.json JWKS URL.
JWTAUTH_JWKS_CACHE_MIN_TTL - 60 60 Minimum cache time-to-live in seconds.