File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ The following key/value pairs are used for configurating the extension:
66
77| ** Config Name** | ** Description** |
88| ---------------------------------------| ------------------------------------------------------------------------------------------|
9+ | ` AWS_COGNITO_DISABLED ` | Globally disable auth with Cognito (default=False) |
910| ` AWS_REGION ` | Region the user pool was created |
1011| ` AWS_COGNITO_DOMAIN ` | The domain name of the user pool |
1112| ` AWS_COGNITO_USER_POOL_ID ` | The ID of the user pool |
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ class Config:
2929 FLASK_ENV = "TESTING"
3030
3131 # Cognito config
32+ # AWS_COGNITO_DISABLED = True # Can set to turn off auth (e.g. for local testing)
3233 AWS_REGION = environ ["AWS_REGION" ]
3334 AWS_COGNITO_USER_POOL_ID = environ ["AWS_COGNITO_USER_POOL_ID" ]
3435 AWS_COGNITO_DOMAIN = environ ["AWS_COGNITO_DOMAIN" ]
You can’t perform that action at this time.
0 commit comments