diff --git a/src/main/java/io/github/hectorvent/floci/services/cognito/CognitoAuthFlowHandler.java b/src/main/java/io/github/hectorvent/floci/services/cognito/CognitoAuthFlowHandler.java index 1888608149..3f93c5fd97 100644 --- a/src/main/java/io/github/hectorvent/floci/services/cognito/CognitoAuthFlowHandler.java +++ b/src/main/java/io/github/hectorvent/floci/services/cognito/CognitoAuthFlowHandler.java @@ -186,8 +186,9 @@ final class CognitoAuthFlowHandler { } /** - * A client with no stored list, as one persisted before the default was materialised, gets the - * AWS default rather than every flow. + * A client with no stored {@code ExplicitAuthFlows} gets the AWS default rather than every + * flow. Floci never materialises the default into storage, so this covers every such client, + * not just one from before enforcement existed. */ private static List enabledAuthFlows(UserPoolClient client) { List enabled = client.getExplicitAuthFlows();