From 7d874fb1ab00aef6d7e654a79620e3d0300f562d Mon Sep 17 00:00:00 2001 From: jay brown Date: Wed, 16 Apr 2025 13:42:37 -0700 Subject: [PATCH] feature flag --- internal/cognitoauth/readme.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/cognitoauth/readme.md b/internal/cognitoauth/readme.md index 85bb9ab5..0017bac7 100644 --- a/internal/cognitoauth/readme.md +++ b/internal/cognitoauth/readme.md @@ -31,6 +31,10 @@ The package reads configuration from environment variables: - `AWS_REGION`: AWS region where your Cognito User Pool is located (us-east-2) - `DEBUG`: Set to "true" for debug logging +## Feature flag +You can disable all of the auth features with the following environment variable: +`DISABLE_AUTH=true` + ## Route Permissions Route permissions are hard-coded in the `route_permissions.go` file. In the future we may