aws / aws/aws-lambda-java-libs

Issue with Map types in CognitoUserPoolPreTokenGenerationEventV2 -> GroupOverrideDetails

未關閉
#516 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Java
星號
548
分支
241
平均合併
2 天 5 分鐘
30 天內合併 PR
11

描述

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!

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。