Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

groupConfiguration request for the PreTokenGeneration Lambda should be a list, not a dict #287

Open
seanfdnn opened this issue Aug 9, 2022 · 1 comment

Comments

@seanfdnn
Copy link

seanfdnn commented Aug 9, 2022

As per the pre-token generation data structure on the AWS docs:
https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-pre-token-generation.html

The JSON request to the pre-token generation token should have groupConfiguration as a list, but cognito-local currently has it implemented as a dictionary.

@seanfdnn
Copy link
Author

Upon investigation, it appears as if the AWS-provided types match the current cognito-local implementation and it's actually the AWS documentation that is incorrect? Does anyone have any knowledge to confirm which is correct?

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant