aws / aws/aws-lambda-java-libs
Issue with Map types in CognitoUserPoolPreTokenGenerationEventV2 -> GroupOverrideDetails
Open
- Dominant language
- Java
- Stars
- 548
- Forks
- 241
- Avg merge
- 2d 5m
- Merged PRs (30d)
- 11
Description
According to my support representative and the documentation https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-pre-token-generation.html#aws-lambda-triggers-pre-token-generation-example-version-2-overview, the response should return list types for groupsToOverride and iamRolesToOverride even when I use V2 pre token generation, not Map. My experiences with Map here is that cognito fails when I return an object generated by the current java sdk with map here instead of a list, so I suspect that the SDK uses the wrong types here. Thank you in advance for looking into my issue!
Contributor guide
Assessment
This issue has not been assessed yet.